Actually make npm audit more robust
In bash, && and || have the same priority.
This commit is contained in:
parent
baf10c3f16
commit
78879851bb
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -121,7 +121,7 @@ jobs:
|
||||
- run: npm ci
|
||||
working-directory: ./editors/code
|
||||
|
||||
- run: npm audit || sleep 10 && npm audit || sleep 30 && npm audit
|
||||
- run: npm audit || { sleep 10 && npm audit; } || { sleep 30 && npm audit; }
|
||||
working-directory: ./editors/code
|
||||
|
||||
- run: npm run lint
|
||||
|
Loading…
x
Reference in New Issue
Block a user