diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91cf7dd..922636c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: node-version-file: .nvmrc - name: Install dependencies - run: npm install --prefer-offline + run: npm ci --prefer-offline - name: Lint JavaScript files run: npm run build diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index bdcf31a..c80b3ce 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -18,7 +18,7 @@ jobs: node-version-file: .nvmrc - name: Install dependencies - run: npm install --prefer-offline + run: npm ci --prefer-offline - name: Lint commit message run: npx commitlint --from=HEAD~1 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bbfe5b2..0ab417a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ jobs: node-version-file: .nvmrc - name: Install dependencies - run: npm install --prefer-offline + run: npm ci --prefer-offline - name: Lint OpenAPI spec run: npm run lint diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 2088e33..de44fbb 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -21,6 +21,7 @@ jobs: needs: release-please runs-on: ubuntu-latest if: ${{ needs.release-please.outputs.release_created }} + steps: - name: Checkout repository uses: actions/checkout@v4 @@ -31,7 +32,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Install dependencies - run: npm install + run: npm ci --prefer-offline - name: Publish run: npm publish