-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (44 loc) · 1.15 KB
/
Copy pathe2e-main.yml
File metadata and controls
52 lines (44 loc) · 1.15 KB
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
name: PhaserForge CI / E2E (Main)
on:
push:
branches:
- main
- master
workflow_dispatch:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
permissions:
contents: read
jobs:
e2e-main-chromium:
name: E2E Main Chromium (shard ${{ matrix.shard }}/${{ matrix.shards }})
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.61.1-noble
options: --ipc=host
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3, 4]
shards: [4]
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node
uses: actions/setup-node@v7
with:
node-version: 26
- name: Install
run: npm ci
- name: E2E Tests
env:
PW_PROJECTS: chromium
run: node scripts/run-main-e2e-shard.cjs ${{ matrix.shard }} -- --fail-on-flaky-tests
- name: Upload Playwright Artifacts
if: always()
uses: actions/upload-artifact@v7
with:
name: playwright-main-chromium-${{ matrix.shard }}-of-${{ matrix.shards }}
path: |
playwright-report
test-results