-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add retrying to install electron step
- Loading branch information
1 parent
77be225
commit 7bfe71a
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|