Skip to content

Commit

Permalink
test: use cypress container (#1792)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 authored Jan 30, 2023
1 parent 1ebbead commit e6213a8
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ jobs:

e2e-test:
runs-on: ubuntu-latest
timeout-minutes: 15
container: cypress/browsers:node18.12.0-chrome107
timeout-minutes: 10
name: 'E2E Doc Test: node-18, ubuntu-latest'
steps:
- name: Checkout
Expand All @@ -121,11 +122,6 @@ jobs:
with:
version: 7

- name: Set node version to 18
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install deps
run: pnpm install

Expand All @@ -134,11 +130,6 @@ jobs:

- id: e2e
name: Run e2e
run: timeout 5m pnpm run docs:test:e2e:run
continue-on-error: true

- name: Run e2e (2nd attempt)
if: ${{ steps.e2e.outcome != 'success' }}
run: pnpm run docs:test:e2e:run

lint:
Expand Down

0 comments on commit e6213a8

Please sign in to comment.