mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Actually make npm audit more robust
In bash, && and || have the same priority.
This commit is contained in:
parent
baf10c3f16
commit
78879851bb
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
@ -121,7 +121,7 @@ jobs:
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
working-directory: ./editors/code
|
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
|
working-directory: ./editors/code
|
||||||
|
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
|
|
Loading…
Reference in a new issue