fix(components): fix header transition from mobile to header #8012
Workflow file for this run
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
### | |
# | |
# Build the packages/documentation storybook | |
# | |
# This workflow does not have secrets when run from a fork. | |
# Artifacts are uploaded and used in a subsequent workflow | |
# with more privileges which does not run unsafe commands. | |
# | |
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ | |
# | |
### | |
name: Build Documentation | |
on: | |
pull_request: | |
types: [opened, synchronize, edited, reopened] | |
paths: | |
- 'packages/**' | |
jobs: | |
build: | |
name: Build Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup-pnpm | |
- name: Install documentation & dependencies | |
run: pnpm --filter design-system-documentation... install | |
- name: Build documentation & dependencies | |
run: pnpm --filter design-system-documentation... build | |
- name: Add netlify.config.json to artifact folder | |
run: cp packages/documentation/netlify.config.json packages/documentation/storybook-static/netlify.config.json | |
- name: Upload documentation | |
uses: ./.github/actions/artifact-upload | |
with: | |
name: design-system-documentation | |
folder: packages/documentation/storybook-static |