diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 9347d18..3ced55e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -29,7 +29,7 @@ jobs: run: | echo "CACHE_DIR=$(npm config get cache)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: cache with: path: ${{ steps.npm-cache.outputs.CACHE_DIR }} diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index e7068ef..8fdfe77 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -43,7 +43,7 @@ jobs: # getting and storing cache takes about 1:20 min each on windows - if: ${{ matrix.os != 'windows-latest' && ( matrix.os == 'ubuntu-latest' || matrix.node == 20 ) }} - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache with: path: ${{ steps.npm-cache.outputs.CACHE_DIR }}