From 1aa5d5dc2169758f511db2db186c95833ab11c12 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 16 Mar 2020 15:00:33 +0100 Subject: Make audit more reliable I've seen this transient error a couple of times: https://github.com/rust-analyzer/rust-analyzer/runs/511162809?check_suite_focus=true#step:5:8 --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ee74d7486..afb89f17b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -104,7 +104,7 @@ jobs: - run: npm ci working-directory: ./editors/code - - run: 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