-
Notifications
You must be signed in to change notification settings - Fork 91
38 lines (31 loc) · 808 Bytes
/
e2e.yml
File metadata and controls
38 lines (31 loc) · 808 Bytes
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
name: E2E Tests
on:
push:
branches:
- master
pull_request:
jobs:
e2e:
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3]
runs-on: ubuntu-latest
name: E2E Tests (shard ${{ matrix.shard }})
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
- name: Setup latest Google Chrome
uses: browser-actions/setup-chrome@v1
- name: Install Playwright and deps
run: |
npm --version
node --version
npm install -D @playwright/test@latest playwright@latest
npx playwright install-deps
- name: Run E2E tests
run: composer run e2e -- --shard=${{ matrix.shard }}/3