From bac4044d912f17c32b2d7d6ee0f35f701be2e352 Mon Sep 17 00:00:00 2001 From: Nogic <24802730+nogic1008@users.noreply.github.com> Date: Mon, 25 Jul 2022 03:07:37 +0000 Subject: [PATCH] ci: add `--ignore-scripts` argument --- .github/workflows/check-dist.yml | 2 +- .github/workflows/licensed.yml | 2 +- .github/workflows/workflow.yml | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 1275188..91e3b88 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -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 diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index fd70702..d8fb6ea 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -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 diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d2dcede..629d82a 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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: @@ -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' @@ -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: