Skip to content

Commit 9a7af92

Browse files
asyncapi-botasyncapi-bot
andauthored
ci: update global workflows (#122)
Co-authored-by: asyncapi-bot <[email protected]>
1 parent cf2011e commit 9a7af92

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/if-nodejs-pr-testing.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@ jobs:
2929
node-version: 14
3030
- if: steps.packagejson.outputs.exists == 'true'
3131
name: Install dependencies
32+
id: first-installation
3233
run: npm install --loglevel verbose
34+
continue-on-error: true
35+
- if: steps.first-installation.outputs.status == 'failure' && steps.packagejson.outputs.exists == 'true'
36+
name: Clear NPM cache and install deps again
37+
run: |
38+
npm cache clean --force
39+
npm install --loglevel verbose
3340
- if: steps.packagejson.outputs.exists == 'true'
3441
name: Test
3542
run: npm test

0 commit comments

Comments
 (0)