-
Notifications
You must be signed in to change notification settings - Fork 17
41 lines (33 loc) · 1.01 KB
/
01-build-stories.yml
File metadata and controls
41 lines (33 loc) · 1.01 KB
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
---
name: Build Stories
permissions:
contents: read
on:
workflow_call:
jobs:
build-stories:
name: Build Stories
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v6
- name: 🔄 Init Cache
uses: ./.github/actions/npm-cache
- name: 🔨 Build Packages
run: |
npm run generate:stories --workspace=@db-ux/core-components
- name: ⏫ Upload angular stories
uses: actions/upload-artifact@v7
with:
name: angular-storybook-stories
path: storybooks/angular-storybook/src/components
- name: ⏫ Upload react stories
uses: actions/upload-artifact@v7
with:
name: react-storybook-stories
path: storybooks/react-storybook/src/components
- name: ⏫ Upload vue stories
uses: actions/upload-artifact@v7
with:
name: vue-storybook-stories
path: storybooks/vue-storybook/src/components