Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions actions/test-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ runs:
steps:
- uses: DevExpress/testcafe-build-system/actions/load-artifacts-npm@main

- shell: bash
id: npm-cache-dir
run: |
echo "::set-output name=dir::$(npm config get cache)"
- shell: bash
id: npm-cache-dir
run: |
echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT"

- uses: actions/cache@v2
- uses: actions/cache@v4
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -26,4 +26,4 @@ runs:
run: npm ci --legacy-peer-deps

- shell: bash
run: npm run ${{ inputs.task }}
run: npm run ${{ inputs.task }}
Loading