Skip to content

Fix build scripts, permissions #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,12 @@ jobs:

- name: Test
run: npm test

- name: Check scripts are executable
run: |
for i in userTests/*/*.sh; do
if ! [[ -x "$i" ]]; then
echo "File $i is not executable"
exit 1
fi
done
2 changes: 2 additions & 0 deletions userTests/angular/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

npm i -g yarn --force
rm -rf angular
git clone --depth 1 https://github.com./angular/angular angular
Expand Down
2 changes: 2 additions & 0 deletions userTests/arktype/build.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

set -x

npm i -g pnpm
Expand Down
2 changes: 2 additions & 0 deletions userTests/azure-sdk/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

set -x
npm install -g @microsoft/rush
rm -rf azure-sdk
Expand Down
2 changes: 2 additions & 0 deletions userTests/chrome-devtools-frontend-next/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

rm -rf depot_tools
git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git depot_tools
PATH=depot_tools:$PATH
Expand Down
2 changes: 2 additions & 0 deletions userTests/office-ui-fabric/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

npm i -g yarn
rm -rf office-ui-fabric
CI=true
Expand Down
2 changes: 2 additions & 0 deletions userTests/prettier/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

npm i -g yarn
rm -rf prettier
git clone --depth 1 https://github.com./prettier/prettier.git prettier
Expand Down
2 changes: 2 additions & 0 deletions userTests/pyright/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

rm -rf pyright
git clone --depth 1 https://github.com./microsoft/pyright.git pyright
START=$(pwd)
Expand Down
2 changes: 2 additions & 0 deletions userTests/rxjs-src/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

rm -rf rxjs
git clone --depth 1 https://github.com./ReactiveX/rxjs rxjs
START=$(pwd)
Expand Down
2 changes: 2 additions & 0 deletions userTests/typescript-eslint/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

set -x

npm i -g yarn
Expand Down
2 changes: 2 additions & 0 deletions userTests/vscode/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

rm -rf vscode
git clone --depth 1 https://github.com./microsoft/vscode.git vscode
START=$(pwd)
Expand Down
2 changes: 2 additions & 0 deletions userTests/vue-next/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

npm install -g pnpm
rm -rf vue-next
git clone --depth 1 https://github.com./vuejs/core
Expand Down