From 454154554f393b923322feb5b40f617f5adedd5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 6 Sep 2023 02:21:56 +0200 Subject: [PATCH] build(ci): cleanup workflows MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 8 +++++--- .github/workflows/generate-documentation.yml | 2 +- .github/workflows/npmpublish.yml | 4 ++-- examples/typescript/build.sh | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30b45b14..1232df97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,13 +15,15 @@ on: jobs: build: - runs-on: ${{ matrix.os }} - strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] node: ['16.x', '18.x', '20.x'] + name: Node.js ${{ matrix.node }} on ${{ matrix.os }} + + runs-on: ${{ matrix.os }} + steps: - name: Checkout uses: actions/checkout@v4 @@ -40,7 +42,7 @@ jobs: cache: 'pnpm' - name: Install - run: pnpm install + run: pnpm install --ignore-scripts - name: Build run: pnpm build diff --git a/.github/workflows/generate-documentation.yml b/.github/workflows/generate-documentation.yml index d88be39f..fcf24a47 100644 --- a/.github/workflows/generate-documentation.yml +++ b/.github/workflows/generate-documentation.yml @@ -24,7 +24,7 @@ jobs: - name: Generate documentation run: | - pnpm install + pnpm install --ignore-scripts pnpm typedoc - name: Commit files diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 05615ca0..2782b5b9 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -24,7 +24,7 @@ jobs: cache: 'pnpm' - name: Install - run: pnpm install + run: pnpm install --ignore-scripts - name: Tests & Coverage run: | @@ -62,7 +62,7 @@ jobs: uses: jaywcjlove/github-action-package@main - name: Install - run: pnpm install + run: pnpm install --ignore-scripts - name: Publish Release if: ${{ contains(steps.package-version.outputs.version, '-') == false }} diff --git a/examples/typescript/build.sh b/examples/typescript/build.sh index 1e8ef870..2ebc5df0 100755 --- a/examples/typescript/build.sh +++ b/examples/typescript/build.sh @@ -8,7 +8,7 @@ for example in $examples do echo -e "Building $example" cd $example - pnpm install + pnpm install --ignore-scripts pnpm build cd - done -- 2.34.1