Task/htl 112172 additional drawer work (#1539) #365
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On Main Merge - Build Storybook | |
env: | |
BROWSERSLIST_IGNORE_OLD_DATA: 1 | |
on: | |
push: | |
branches: [main] | |
jobs: | |
on-main-storybook: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: PNPM cache via actions/cache@v3 | |
id: pnpm-cache | |
uses: actions/cache@v3 | |
with: | |
path: /home/runner/work/design-system/design-system/common/temp/pnpm-store/v3 | |
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm- | |
- name: Install dependencies | |
run: node common/scripts/install-run-rush.js install | |
- name: Build components | |
run: node common/scripts/install-run-rush.js build | |
- name: Build static Storybook | |
working-directory: ./ | |
env: | |
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
run: node common/scripts/install-run-rush.js build:storybook:baseline |