diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 0a16e423816..73409c7df64 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -17,6 +17,7 @@ jobs: with: node-version: '*' cache: 'npm' + cache-dependency-path: 'npm-shrinkwrap.json' check-latest: true - name: Install dependencies run: npm install --production --no-audit diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0a205d3c7ea..4108ab93609 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,6 +44,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + cache-dependency-path: 'npm-shrinkwrap.json' check-latest: true - name: Install core dependencies run: npm ci --no-audit diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 6cd4bcf1d24..2e8955df89e 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -24,6 +24,7 @@ jobs: with: node-version: '*' cache: 'npm' + cache-dependency-path: 'npm-shrinkwrap.json' check-latest: true registry-url: 'https://registry.npmjs.org' if: ${{ steps.release.outputs.release_created }} diff --git a/.github/workflows/verify-docs.yml b/.github/workflows/verify-docs.yml index b0de15c829a..b9c8c330829 100644 --- a/.github/workflows/verify-docs.yml +++ b/.github/workflows/verify-docs.yml @@ -18,6 +18,7 @@ jobs: with: node-version: '*' cache: 'npm' + cache-dependency-path: 'npm-shrinkwrap.json' check-latest: true - name: Install core dependencies run: npm ci --no-audit