-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 1017 Bytes
/
integration.yml
File metadata and controls
42 lines (33 loc) · 1017 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
name: Integration Tests
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '24'
cache: npm
cache-dependency-path: package-lock.json
- run: npm ci
- name: Cache Playwright browsers
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-chromium-${{ runner.os }}-${{ hashFiles('app/packages/web/package-lock.json', 'package-lock.json') }}
- name: Install Playwright browsers
run: npx playwright install chromium --with-deps
working-directory: app/packages/web
- run: npm run app:test:integration
- uses: actions/upload-artifact@v4
if: failure()
with:
name: integration-playwright-report
path: app/packages/web/playwright-report/
retention-days: 30