diff --git a/actions/test-npm/action.yml b/actions/test-npm/action.yml index ba7717b..e245667 100644 --- a/actions/test-npm/action.yml +++ b/actions/test-npm/action.yml @@ -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 }} @@ -26,4 +26,4 @@ runs: run: npm ci --legacy-peer-deps - shell: bash - run: npm run ${{ inputs.task }} \ No newline at end of file + run: npm run ${{ inputs.task }}