-
Notifications
You must be signed in to change notification settings - Fork 10
47 lines (37 loc) · 1.08 KB
/
e2e-test.yaml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: E2e test
on: [push, pull_request]
jobs:
run-e2e-test:
strategy:
matrix:
version: [16, 18]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
node-version: ${{ matrix.version }}
- name: Install berry
run: yarn
- name: install playwright
run: yarn playwright install
- name: test 2.x to 4.x
run: yarn exec vitest e2e/vite[2-4]/*.spec.ts --coverage.enabled=false
run-stable-e2e-test:
strategy:
matrix:
version: [18,20]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
node-version: ${{ matrix.version }}
- name: Install berry
run: corepack enable
- name: install dependices
run: yarn
- name: install playwright
run: yarn playwright install
- name: test 5.x
run: yarn exec vitest e2e/vite5/*.spec.ts --coverage.enabled=false