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: