1a03fcc38c
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
name: Build shared component storybook
|
|
on:
|
|
merge_group: {}
|
|
pull_request: {}
|
|
workflow_call: {}
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
doc:
|
|
name: Build storybook
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 🧮 Checkout code
|
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
|
|
- name: 🔧 Pnpm cache
|
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
|
|
with:
|
|
cache: "pnpm"
|
|
node-version-file: package.json
|
|
|
|
- name: 🔨 Install dependencies
|
|
working-directory: packages/shared-components
|
|
run: "pnpm install --frozen-lockfile"
|
|
|
|
- name: 📖 Build Storybook
|
|
working-directory: packages/shared-components
|
|
run: pnpm build:storybook
|
|
|
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
|
|
with:
|
|
name: shared-components-storybook
|
|
path: packages/shared-components/storybook-static
|
|
retention-days: 1
|