diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index b82cdb917..86a82aaba 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -37,7 +37,7 @@ jobs: if: env.SHOULD_RUN == 'true' - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} @@ -75,7 +75,7 @@ jobs: if: env.SHOULD_RUN == 'true' - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} @@ -113,7 +113,7 @@ jobs: if: env.SHOULD_RUN == 'true' - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} @@ -146,7 +146,7 @@ jobs: if: env.SHOULD_RUN == 'true' - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} @@ -194,7 +194,7 @@ jobs: if: env.SHOULD_RUN == 'true' - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} @@ -246,7 +246,7 @@ jobs: run: yarn add start-server-and-test - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 1b71e5d8d..143f659ec 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -37,7 +37,7 @@ jobs: if: env.SHOULD_RUN == 'true' - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} @@ -77,7 +77,7 @@ jobs: if: env.SHOULD_RUN == 'true' - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} @@ -117,7 +117,7 @@ jobs: if: env.SHOULD_RUN == 'true' - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} @@ -152,7 +152,7 @@ jobs: if: env.SHOULD_RUN == 'true' - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} @@ -202,7 +202,7 @@ jobs: if: env.SHOULD_RUN == 'true' - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} @@ -245,7 +245,7 @@ jobs: if: env.SHOULD_RUN == 'true' - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} @@ -342,7 +342,7 @@ jobs: run: yarn add start-server-and-test - name: Cache node_modules id: cache_node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}