Skip to content

Commit

Permalink
fix(tests): EEXIST: file already exists _cacache on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Badisi committed Feb 22, 2024
1 parent acb0e3e commit 6219652
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,14 @@ jobs:
.angular/cache
node_modules
# https://github.com/npm/cli/issues/3079 (use --maxsockets=1)
- name: Install dependencies (with workaround for Windows)
if: (steps.cache-step.outputs.cache-hit != 'true') && ${{ matrix.os == 'windows-latest' }}
run: npm clean-install --engine-strict --maxsockets=1

- name: Install dependencies
if: steps.cache-step.outputs.cache-hit != 'true'
run: npm clean-install --engine-strict
if: (steps.cache-step.outputs.cache-hit != 'true') && ${{ matrix.os != 'windows-latest' }}
run: npm clean-install --engine-strict --maxsockets=1

- name: Lint
run: npm run lint
Expand Down

0 comments on commit 6219652

Please sign in to comment.