Skip to content

Commit

Permalink
Add retrying to install electron step
Browse files Browse the repository at this point in the history
  • Loading branch information
julianhille committed Dec 3, 2021
1 parent 77be225 commit 7bfe71a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,11 @@ jobs:
npm_config_target: ${{ matrix.electron }}
npm_config_disturl: https://atom.io/download/electron
npm_config_runtime: electron
- run: npm install -g electron@${{ matrix.electron }} electron-mocha@${{ matrix.electron_mocha_version }}
- uses: Wandalen/[email protected]
with:
command: npm install -g electron@${{ matrix.electron }} electron-mocha@${{ matrix.electron_mocha_version }}
attempt_limit: 3
attempt_delay: 10000
- name: Run test
uses: GabrielBB/xvfb-action@v1
with:
Expand Down

0 comments on commit 7bfe71a

Please sign in to comment.