mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
ci(e2e): retry npm install to absorb Prisma postinstall ECONNRESET
This commit is contained in:
parent
797451427e
commit
7eeea37b7a
1 changed files with 8 additions and 2 deletions
10
.github/actions/setup-e2e/action.yml
vendored
10
.github/actions/setup-e2e/action.yml
vendored
|
|
@ -27,9 +27,15 @@ runs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-node22-
|
||||
|
||||
# npm i runs Prisma's postinstall, which downloads engine binaries from a
|
||||
# CDN; a transient ECONNRESET there fails the whole job. Retry to absorb it.
|
||||
- name: Install npm Packages
|
||||
shell: bash
|
||||
run: npm i
|
||||
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
|
||||
with:
|
||||
timeout_minutes: 10
|
||||
max_attempts: 3
|
||||
retry_wait_seconds: 20
|
||||
command: npm i
|
||||
|
||||
- name: Cache Playwright Browsers
|
||||
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue