Skip to content

Commit 3be7615

Browse files
committed
Run tests
1 parent ad8e352 commit 3be7615

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: 'ci / Storybook Tests'
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'resources/js/**'
7+
- '.storybook/**'
8+
- 'vitest.config.ts'
9+
- 'package.json'
10+
- 'package-lock.json'
11+
12+
concurrency:
13+
group: storybook-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
storybook-tests:
18+
name: 'Tests / Storybook'
19+
runs-on: ubuntu-latest
20+
container:
21+
image: mcr.microsoft.com/playwright:v1.58.0-noble
22+
timeout-minutes: 10
23+
24+
steps:
25+
- name: Checkout code
26+
uses: actions/checkout@v4
27+
28+
- name: Setup Node
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: 22
32+
33+
- name: Install dependencies
34+
run: npm ci --legacy-peer-deps
35+
36+
- name: Run Storybook tests
37+
run: npm run test:storybook

0 commit comments

Comments
 (0)