From 3d06050d69a71ef6b1a937fd0cce2d4101adf55f Mon Sep 17 00:00:00 2001 From: typicode Date: Thu, 28 Apr 2022 06:52:11 +0200 Subject: [PATCH] chore: update workflow --- .github/workflows/node.js.yml | 1 - .github/workflows/npm_publish.yml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 851b30a8d..f2e8af180 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -17,6 +17,5 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: npm - - run: npm i -g npm@7 - run: npm ci --ignore-scripts - run: npm test diff --git a/.github/workflows/npm_publish.yml b/.github/workflows/npm_publish.yml index e62acc870..65288a7eb 100644 --- a/.github/workflows/npm_publish.yml +++ b/.github/workflows/npm_publish.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - - run: npm ci + - run: npm ci --ignore-scripts - run: npm test publish-npm: @@ -26,7 +26,7 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ - - run: npm ci + - run: npm ci --ignore-scripts - run: npm run build - run: npm publish env: