-
Notifications
You must be signed in to change notification settings - Fork 130
69 lines (49 loc) · 1.35 KB
/
e2e-and-js-tests.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: E2E and JS tests
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: false
strategy:
fail-fast: true
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up NodeJS 20
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
- name: Build Edit Flow
run: |
npm ci
npm run build
- name: Install WordPress with wp-env
run: npm run wp-env start
- name: Run Lint JS
run: npm run lint-js
- name: Run Jest tests
run: npm run test-jest
- name: Run E2E tests (1/10)
run: npm run test-e2e
- name: Run E2E tests (2/10)
run: npm run test-e2e
- name: Run E2E tests (3/10)
run: npm run test-e2e
- name: Run E2E tests (4/10)
run: npm run test-e2e
- name: Run E2E tests (5/10)
run: npm run test-e2e
- name: Run E2E tests (6/10)
run: npm run test-e2e
- name: Run E2E tests (7/10)
run: npm run test-e2e
- name: Run E2E tests (8/10)
run: npm run test-e2e
- name: Run E2E tests (9/10)
run: npm run test-e2e
- name: Run E2E tests (10/10)
run: npm run test-e2e