diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4392040..6b4d8c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: - id: npm-cache run: echo "dir=$(npm config get cache)" | tee -a "$GITHUB_OUTPUT" - id: npm-cache-restore - uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.npm-cache.outputs.dir }} key: npm-${{ hashFiles('package-lock.json') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c915a9..604e59e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: - id: npm-cache run: echo "dir=$(npm config get cache)" | tee -a "$GITHUB_OUTPUT" - id: npm-cache-restore - uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.npm-cache.outputs.dir }} key: npm-${{ hashFiles('package-lock.json') }} @@ -38,7 +38,7 @@ jobs: npm- - run: npm ci - run: npm test - - uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 if: github.ref_name == 'main' with: path: ${{ steps.npm-cache.outputs.dir }}