-
-
Notifications
You must be signed in to change notification settings - Fork 301
47 lines (38 loc) · 1.18 KB
/
verify-storybook-builder.yml
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
name: Verify Storybook Builder
on: pull_request
jobs:
verify-storybook-builder:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-22.04, windows-2022]
runs-on: ${{ matrix.runs-on }}
name: ${{ matrix.runs-on }}
timeout-minutes: 60
env:
PUPPETEER_SKIP_DOWNLOAD: true # prevent failures due to puppeteer downloading issues, since it's not used here anyway
steps:
- uses: actions/checkout@v4
- name: Setup Node 22
uses: actions/setup-node@v4
env:
FORCE_COLOR: 0
with:
node-version: 22
cache: npm
- name: Install Dependencies
run: npm ci
- name: Build packages
run: npm run build
- name: Symlink built packages binaries (e.g. "wds")
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run tests
run: npm run test:storybook-builder
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-${{ matrix.runs-on }}
path: packages/storybook-framework-web-components/playwright-report/
retention-days: 30