diff --git a/.github/workflows/build-canary.yml b/.github/workflows/build-canary.yml index f35f5d2b6..9c5e1c77d 100644 --- a/.github/workflows/build-canary.yml +++ b/.github/workflows/build-canary.yml @@ -27,7 +27,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Restore/create node_modules cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml index 1f54558da..2d1960af3 100644 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-main.yml @@ -26,7 +26,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Restore/create node_modules cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index bc6f862d2..9c88a083b 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -68,7 +68,7 @@ jobs: github-token: ${{ secrets.API_TOKEN_GITHUB }} - name: Restore/create node_modules cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}