generated from furystack/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 838 Bytes
/
ui-tests.yml
File metadata and controls
33 lines (31 loc) · 838 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
name: UI tests for Showcase app
on: [push]
jobs:
build:
name: Build and run UI tests
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Build app
run: yarn build
- name: Install Playwright browsers
run: yarn playwright install --with-deps
- name: Seed test data
run: yarn seed
- name: Execute tests
run: yarn test:e2e
- uses: actions/upload-artifact@v4
if: failure()
with:
path: e2e
name: ScreenShots