fix: specify chromium for Playwright browser installation and add retry step
Run Tests / test (push) Has been cancelled
Run Tests / test (push) Has been cancelled
This commit is contained in:
@@ -26,7 +26,13 @@ jobs:
|
|||||||
run: npm ci --legacy-peer-deps
|
run: npm ci --legacy-peer-deps
|
||||||
|
|
||||||
- name: Install Playwright browsers
|
- name: Install Playwright browsers
|
||||||
run: npx playwright install --with-deps
|
run: npx playwright install chromium --with-deps
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
|
- name: Install Playwright browsers retry
|
||||||
|
if: failure()
|
||||||
|
run: npx playwright install chromium --with-deps
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
- name: Run typecheck
|
- name: Run typecheck
|
||||||
run: npm run typecheck
|
run: npm run typecheck
|
||||||
|
|||||||
@@ -26,7 +26,8 @@ jobs:
|
|||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci --legacy-peer-deps
|
||||||
|
|
||||||
- name: Install Playwright browsers
|
- name: Install Playwright browsers
|
||||||
run: npx playwright install --with-deps
|
run: npx playwright install chromium --with-deps
|
||||||
|
timeout-minutes: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user