retry yarn/npm install steps on gh actions

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2021-04-15 13:07:57 +03:00
1 parent 126d542335
commit 63d43bbd04
2 files changed
+11 -3

No files matched your search

+10 -2
View File
@@ -32,14 +32,22 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- run: make node_modules
- uses: nick-invision/retry@v2
name: Install dependencies
with:
max_attempts: 3
retry_on: error
command: make node_modules
- run: make build-npm
name: Generate npm package
- run: make -j2 build-extensions
- uses: nick-invision/retry@v2
name: Build bundled extensions
with:
max_attempts: 3
retry_on: error
command: make -j2 build-extensions
- run: make test
name: Run tests
+1 -1
View File
@@ -18,7 +18,7 @@ binaries/client: node_modules
yarn download-bins
node_modules: yarn.lock
yarn install --frozen-lockfile
yarn install --frozen-lockfile --network-timeout=100000
yarn check --verify-tree --integrity
static/build/LensDev.html: node_modules