Skip to content

Commit

Permalink
ci: add --ignore-scripts argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Nogic committed Jul 29, 2022
1 parent d26ead4 commit bac4044
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
cache: npm

- name: Install dependencies
run: npm ci
run: npm ci --ignore-scripts

- name: Rebuild the dist/ directory
run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Check licenses
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm ci --ignore-scripts
- name: Install licensed
run: |
cd $RUNNER_TEMP
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
with:
node-version: 16.x
cache: npm
- run: npm ci
- run: npm ci --ignore-scripts
- run: npm run build
- run: npm run format-check
- run: npm test
- name: Verify no unstaged changes
if: runner.os != 'windows'
run: __tests__/verify-no-unstaged-changes.sh

test-setup-multiple-versions:
runs-on: ${{ matrix.operating-system }}
strategy:
Expand All @@ -50,9 +50,9 @@ jobs:
uses: ./
with:
dotnet-version: |
2.2.402
3.1.404
3.0.x
2.2.402
3.1.404
3.0.x
- name: Verify dotnet
shell: pwsh
run: __tests__/verify-dotnet.ps1 2.2.402 3.1.404 '3.0'
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Verify dotnet
shell: pwsh
run: __tests__/verify-dotnet.ps1 3.1 2.2

test-setup-latest-patch-version:
runs-on: ${{ matrix.operating-system }}
strategy:
Expand Down

0 comments on commit bac4044

Please sign in to comment.