File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -36,47 +36,47 @@ jobs:
36
36
steps :
37
37
- name : Checkout source code
38
38
uses : actions/checkout@v4
39
-
39
+
40
40
- name : Install Node.js 20.x
41
41
uses : actions/setup-node@v4
42
42
with :
43
43
node-version : 20.x
44
44
cache : ' npm'
45
-
45
+
46
46
- name : Install dependencies
47
47
run : |
48
48
npm run prepare-environment:ci
49
49
cd src && composer install
50
-
50
+
51
51
- name : Download build artifact
52
52
uses : actions/download-artifact@v4
53
53
with :
54
54
name : ${{ needs.build-plugin.outputs.artifact_name }}
55
55
path : ./build
56
-
56
+
57
57
- name : Start WordPress environment
58
58
run : |
59
59
npm run wp-env:start
60
-
60
+
61
61
- name : Setup test data
62
62
run : npm run test:setup:playwright
63
-
63
+
64
64
- name : WordPress debug information
65
65
run : |
66
66
wp-env run cli wp core version
67
67
wp-env run cli wp --info
68
-
68
+
69
69
- name : Install playwright/test
70
70
run : |
71
71
npx playwright install chromium
72
-
72
+
73
73
- name : Run Playwright tests
74
74
run : npm run test:playwright
75
-
75
+
76
76
- name : Stop WordPress environment
77
77
if : always()
78
78
run : npm run wp-env:stop
79
-
79
+
80
80
- uses : actions/upload-artifact@v4
81
81
if : always()
82
82
with :
You can’t perform that action at this time.
0 commit comments