From 78879851bbcbce1e49fd1d831d72bb83207c2779 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 16 Mar 2020 18:05:01 +0100 Subject: Actually make npm audit more robust In bash, && and || have the same priority. --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/ci.yaml') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b3137477d..dbfa85b20 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 -- cgit v1.2.3