@@ -3,19 +3,22 @@ name: Verify Storybook Builder
3
3
on : pull_request
4
4
5
5
jobs :
6
- verify-storybook-builder-linux :
6
+ verify-storybook-builder :
7
+ strategy :
8
+ fail-fast : false
9
+ matrix :
10
+ runs-on : [ubuntu-24.04, windows-2022]
11
+ runs-on : ${{ matrix.runs-on }}
7
12
timeout-minutes : 60
8
- name : Linux
9
- runs-on : ubuntu-22.04
10
13
steps :
11
14
- uses : actions/checkout@v4
12
15
13
- - name : Setup Node 20
16
+ - name : Setup Node 22
14
17
uses : actions/setup-node@v4
15
18
env :
16
19
FORCE_COLOR : 0
17
20
with :
18
- node-version : 20
21
+ node-version : 22
19
22
cache : npm
20
23
21
24
- name : Install Dependencies
33
36
- name : Run tests
34
37
run : npm run test:storybook-builder
35
38
36
- - uses : actions/upload-artifact@v3
39
+ - uses : actions/upload-artifact@v4
37
40
if : always()
38
41
with :
39
- name : playwright-report
40
- path : packages/storybook-framework-web-components/playwright-report/
41
- retention-days : 30
42
-
43
- verify-storybook-builder-windows :
44
- timeout-minutes : 60
45
- name : Windows
46
- runs-on : windows-2022
47
- steps :
48
- - uses : actions/checkout@v4
49
-
50
- - name : Setup Node 20
51
- uses : actions/setup-node@v4
52
- env :
53
- FORCE_COLOR : 0
54
- with :
55
- node-version : 20
56
- cache : npm
57
-
58
- - name : Install Dependencies
59
- run : npm ci
60
-
61
- - name : Build packages
62
- run : npm run build
63
-
64
- - name : Symlink built packages binaries (e.g. "wds")
65
- run : npm ci
66
-
67
- - name : Install Playwright Browsers
68
- run : npx playwright install --with-deps
69
-
70
- - name : Run tests
71
- run : npm run test:storybook-builder
72
-
73
- - uses : actions/upload-artifact@v3
74
- if : always()
75
- with :
76
- name : playwright-report
42
+ name : playwright-report-${{ matrix.runs-on }}
77
43
path : packages/storybook-framework-web-components/playwright-report/
78
44
retention-days : 30
0 commit comments