Skip to content

Commit deb21fd

Browse files
authored
Fix build scripts, permissions (#187)
1 parent 20ea296 commit deb21fd

File tree

12 files changed

+31
-0
lines changed

12 files changed

+31
-0
lines changed

.github/workflows/ci.yml

+9
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,12 @@ jobs:
3030

3131
- name: Test
3232
run: npm test
33+
34+
- name: Check scripts are executable
35+
run: |
36+
for i in userTests/*/*.sh; do
37+
if ! [[ -x "$i" ]]; then
38+
echo "File $i is not executable"
39+
exit 1
40+
fi
41+
done

userTests/angular/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
npm i -g yarn --force
24
rm -rf angular
35
git clone --depth 1 https://github.com./angular/angular angular

userTests/arktype/build.sh

100644100755
+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
set -x
24

35
npm i -g pnpm

userTests/azure-sdk/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
set -x
24
npm install -g @microsoft/rush
35
rm -rf azure-sdk

userTests/chrome-devtools-frontend-next/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
rm -rf depot_tools
24
git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git depot_tools
35
PATH=depot_tools:$PATH

userTests/office-ui-fabric/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
npm i -g yarn
24
rm -rf office-ui-fabric
35
CI=true

userTests/prettier/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
npm i -g yarn
24
rm -rf prettier
35
git clone --depth 1 https://github.com./prettier/prettier.git prettier

userTests/pyright/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
rm -rf pyright
24
git clone --depth 1 https://github.com./microsoft/pyright.git pyright
35
START=$(pwd)

userTests/rxjs-src/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
rm -rf rxjs
24
git clone --depth 1 https://github.com./ReactiveX/rxjs rxjs
35
START=$(pwd)

userTests/typescript-eslint/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
set -x
24

35
npm i -g yarn

userTests/vscode/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
rm -rf vscode
24
git clone --depth 1 https://github.com./microsoft/vscode.git vscode
35
START=$(pwd)

userTests/vue-next/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
npm install -g pnpm
24
rm -rf vue-next
35
git clone --depth 1 https://github.com./vuejs/core

0 commit comments

Comments
 (0)