diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74d5ff2..2c54f92 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: with: node-version: 18.x - name: Cache Node.js modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} @@ -62,7 +62,7 @@ jobs: with: node-version: 18.x - name: Cache Node.js modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 430f130..167cca4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,7 +31,7 @@ jobs: with: node-version: 18.x - name: Cache Node.js modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} @@ -52,7 +52,7 @@ jobs: with: node-version: 18.x - name: Cache Node.js modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}