Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: use cypress container #1792

Merged
merged 4 commits into from
Jan 30, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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