Skip to content

Commit

Permalink
ci: more force on cache cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg committed Apr 4, 2024
1 parent e0af3de commit c22845b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/if-nodejs-pr-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ jobs:
- if: steps.packagejson.outputs.exists == 'true'
name: Install dependencies
id: first-installation
run: npm ci
run: |
npm cache clean --force
rm -rf C:\npm\cache\_cacache\tmp
npm ci
- if: steps.packagejson.outputs.exists == 'true'
name: Test
run: npm test --if-present
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/if-nodejs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ jobs:
- if: steps.packagejson.outputs.exists == 'true'
name: Install dependencies
id: first-installation
run: npm ci
run: |
npm cache clean --force
rm -rf C:\npm\cache\_cacache\tmp
npm ci
- if: steps.packagejson.outputs.exists == 'true'
name: Run test
run: npm test --if-present
Expand Down Expand Up @@ -97,7 +100,10 @@ jobs:
- if: steps.packagejson.outputs.exists == 'true'
name: Install dependencies
id: first-installation
run: npm ci
run: |
npm cache clean --force
rm -rf C:\npm\cache\_cacache\tmp
npm ci
- if: steps.packagejson.outputs.exists == 'true'
name: Add plugin for conventional commits for semantic-release
run: npm install --save-dev [email protected]
Expand Down

0 comments on commit c22845b

Please sign in to comment.