diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b49b07..d80a121 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Restore cached dependencies - uses: actions/cache@v3 + uses: actions/cache@v6 with: path: ~/.npm key: npm-${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('package-lock.json', 'package.json') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 104a499..1bd043c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: node-version: 22 registry-url: 'https://registry.npmjs.org' - name: Restore cached dependencies - uses: actions/cache@v3 + uses: actions/cache@v6 with: path: ~/.npm key: npm-${{ runner.os }}-22-${{ hashFiles('package-lock.json', 'package.json') }}