-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (25 loc) · 865 Bytes
/
test-e2e.yml
File metadata and controls
30 lines (25 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: E2E Tests
on: pull_request
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install package manager (from package.json)
run: |
corepack enable
corepack install
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: yarn
- run: yarn install
- run: yarn build
- run: npx playwright install --with-deps && yarn test:e2e
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: packages/docs/tests/EndToEnd/Report
retention-days: 30