diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index fecaac91df..79127cd35b 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.2.3 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..1d7eb197e9 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.2.3 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}