Actually make npm audit more robust

In bash, && and || have the same priority.
This commit is contained in:
Aleksey Kladov 2020-03-16 18:05:01 +01:00
parent baf10c3f16
commit 78879851bb

View file

@ -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