@@ -11,8 +11,8 @@ concurrency:
11
11
12
12
jobs :
13
13
tests-e2e :
14
- name : Test
15
- timeout-minutes : 20
14
+ name : Test (Chrome Stable)
15
+ timeout-minutes : 15
16
16
runs-on : buildjet-8vcpu-ubuntu-2204
17
17
steps :
18
18
- uses : actions/checkout@v3
38
38
# # with sourcemaps
39
39
NODE_OPTIONS : " --max-old-space-size=4096"
40
40
41
- - name : Install Playwright Browsers
42
- shell : bash
43
- run : |
44
- pnpm playwright install --with-deps chromium chrome-beta --force
45
-
46
- # E2E tests running with Playwright
47
- - name : Install Playwright Browsers
48
- run : npx playwright install --with-deps chromium
41
+ - uses : ./.github/actions/setup-playwright
49
42
50
43
- name : Run E2E Tests
51
44
run : xvfb-run --auto-servernum -- pnpm test:e2e
56
49
- uses : actions/upload-artifact@v4
57
50
if : always()
58
51
with :
59
- name : playwright-app-report
52
+ name : playwright-app-report-stable
53
+ path : packages/app/playwright-results
54
+ retention-days : 30
55
+
56
+ - name : Stop Test Node
57
+ run : pnpm node:clean
58
+
59
+ tests-e2e-beta :
60
+ name : Test (Chrome Beta)
61
+ timeout-minutes : 15
62
+ runs-on : buildjet-8vcpu-ubuntu-2204
63
+ continue-on-error : true
64
+ steps :
65
+ - uses : actions/checkout@v3
66
+ - uses : FuelLabs/github-actions/setups/node@master
67
+ with :
68
+ node-version : 20.11.0
69
+ pnpm-version : 9.5.0
70
+ - uses : FuelLabs/github-actions/setups/docker@master
71
+ with :
72
+ username : ${{ github.repository_owner }}
73
+ password : ${{ secrets.GITHUB_TOKEN }}
74
+
75
+ - name : Start Test Node
76
+ run : pnpm node:up
77
+
78
+ - name : Generate .env
79
+ run : cp packages/app/.env.example packages/app/.env
80
+
81
+ - name : Build Application
82
+ run : pnpm build:app
83
+ env :
84
+ # # increase node.js m memory limit for building
85
+ # # with sourcemaps
86
+ NODE_OPTIONS : " --max-old-space-size=4096"
87
+
88
+ - uses : ./.github/actions/setup-playwright
89
+ with :
90
+ browser : ' chrome-beta'
91
+
92
+ - name : Run E2E Tests
93
+ run : xvfb-run --auto-servernum -- pnpm test:e2e:beta
94
+ timeout-minutes : 15
95
+ env :
96
+ NODE_ENV : test
97
+
98
+ - uses : actions/upload-artifact@v4
99
+ if : always()
100
+ with :
101
+ name : playwright-app-report-beta
60
102
path : packages/app/playwright-results
61
103
retention-days : 30
62
104
0 commit comments