diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e358b8c..e1b6e8e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: with: node-version: 16.x - name: Cache Node.js modules - uses: actions/cache@v2.1.7 + uses: actions/cache@v4.2.0 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-16.x-${{ hashFiles('**/package-lock.json') }} @@ -47,7 +47,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Cache Node.js modules - uses: actions/cache@v2.1.7 + uses: actions/cache@v4.2.0 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 23f28f13..b66972a0 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -24,7 +24,7 @@ jobs: with: node-version: '16.x' - name: Cache Node.js modules - uses: actions/cache@v2.1.7 + uses: actions/cache@v4.2.0 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-16.x-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index def42c82..f7e936c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: with: node-version: 16.x - name: Cache Node.js modules - uses: actions/cache@v2.1.7 + uses: actions/cache@v4.2.0 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-16.x-${{ hashFiles('**/package-lock.json') }} @@ -60,7 +60,7 @@ jobs: with: version: latest - name: Cache Docker layers - uses: actions/cache@v2.1.7 + uses: actions/cache@v4.2.0 with: path: /tmp/.buildx-cache key: ${{ runner.OS }}-buildx-${{ github.sha }}