Skip to content

Commit

Permalink
Merge pull request #137 from julianhille/feature/retry-install
Browse files Browse the repository at this point in the history
Add retrying to install electron step
  • Loading branch information
julianhille authored Dec 3, 2021
2 parents 77be225 + 7bfe71a commit 7f1450c
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 7f1450c

Please sign in to comment.