diff --git a/.github/workflows/reusable-base.yml b/.github/workflows/reusable-base.yml index 027c440..9d3c060 100644 --- a/.github/workflows/reusable-base.yml +++ b/.github/workflows/reusable-base.yml @@ -85,7 +85,7 @@ jobs: run: echo "prefix=$(( $(date +%s) / 60 / 60 / 24 / 120 ))" >> $GITHUB_OUTPUT - name: Restore cache using package-lock.json hash - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ !inputs.no-lockfile }} with: path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }} @@ -94,7 +94,7 @@ jobs: ${{ runner.os }}-node-${{ steps.npm-timed-expiration.outputs.prefix }}- - name: Restore cache using package.json hash - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ inputs.no-lockfile }} with: path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }} diff --git a/.github/workflows/reusable-sync.yml b/.github/workflows/reusable-sync.yml index ad7adfd..218450d 100644 --- a/.github/workflows/reusable-sync.yml +++ b/.github/workflows/reusable-sync.yml @@ -126,7 +126,7 @@ jobs: run: echo "prefix=$(( $(date +%s) / 60 / 60 / 24 / 120 ))" >> $GITHUB_OUTPUT - name: Restore cache using package-lock.json hash - uses: actions/cache@v4 + uses: actions/cache@v5 if: (inputs.npm-pre-sync-script || inputs.npm-post-sync-script) && !inputs.no-lockfile with: path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }} @@ -135,7 +135,7 @@ jobs: ${{ runner.os }}-node-${{ steps.npm-timed-expiration.outputs.prefix }}- - name: Restore cache using package.json hash - uses: actions/cache@v4 + uses: actions/cache@v5 if: (inputs.npm-pre-sync-script || inputs.npm-post-sync-script) && inputs.no-lockfile with: path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }} diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.yml index 5dcc20f..6f029cb 100644 --- a/.github/workflows/type-check.yml +++ b/.github/workflows/type-check.yml @@ -95,7 +95,7 @@ jobs: run: echo "prefix=$(( $(date +%s) / 60 / 60 / 24 / 120 ))" >> $GITHUB_OUTPUT - name: Restore cache using package-lock.json hash - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ !inputs.no-lockfile }} with: path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }} @@ -104,7 +104,7 @@ jobs: ${{ runner.os }}-node-${{ steps.npm-timed-expiration.outputs.prefix }}- - name: Restore cache using package.json hash - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ inputs.no-lockfile }} with: path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }}