-
Notifications
You must be signed in to change notification settings - Fork 6
50 lines (39 loc) · 1.04 KB
/
e2e.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
48
49
50
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: corepack enable
- name: install dependices
run: yarn
- name: build project
run: yarn build
- name: test 2.x to 4.x
run: yarn ava e2e/vite[2-4]/**/*.spec.ts
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: build project
run: yarn build
- name: test 5.x
run: yarn ava e2e/vite5/**/*.spec.ts