-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (37 loc) · 989 Bytes
/
test.yml
File metadata and controls
45 lines (37 loc) · 989 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
38
39
40
41
42
43
44
45
name: E2E Test
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '24.14.1'
package-manager-cache: false
- name: Enable Corepack
run: |
npm install -g corepack@latest --force
corepack enable
- name: Install dependencies
run: pnpm install
- name: Build RSC plugin
run: pnpm build
- name: Install Playwright Browsers
run: pnpm exec playwright install chromium
- name: Run Playwright tests
run: pnpm test
- uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30