diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index fecaac91df..b6729add16 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v2.3.4 - name: Cache node modules - uses: actions/cache@v2.1.6 + uses: actions/cache@v4.1.0 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/build.yml b/.github/workflows/build.yml index b065991582..c5f144cc07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: echo 'EOF' >> $GITHUB_ENV - name: Cache node modules - uses: actions/cache@v2.1.6 + uses: actions/cache@v4.1.0 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}