From e5e1d7d5f0ebe81ce308bfabffdf424be8ee9212 Mon Sep 17 00:00:00 2001 From: Philipp Winterle Date: Mon, 17 Jun 2024 17:26:19 +0200 Subject: [PATCH] fix: missing "ci" in npm call --- .github/workflows/node.js.yml | 2 +- .github/workflows/npm-publish.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 204eec4..3998588 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -22,6 +22,6 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: npm + - run: npm ci - run: npm run build - run: npm test diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index fa4f717..5fbdde5 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - - run: npm + - run: npm ci - run: npm test publish-npm: @@ -27,7 +27,7 @@ jobs: with: node-version: 20 registry-url: https://registry.npmjs.org/ - - run: npm + - run: npm ci - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}