feat(components): add new component card-control #2106
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 demo app and all dependencies | |
# | |
# This workflow does not have secrets access | |
# 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 Demo App | |
on: | |
pull_request: | |
paths: | |
- 'packages/intranet-header-workspace/**' | |
- 'packages/demo/**' | |
- 'packages/styles/src/**' | |
- 'packages/styles/*' | |
- '!packages/styles/jest.*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: swisspost/design-system/.github/actions/setup-pnpm@main | |
- name: Bootstrap & Build Design System | |
run: | | |
pnpm --filter design-system-demo... install | |
pnpm --filter design-system-demo... build | |
- name: Upload build artifacts | |
uses: swisspost/design-system/.github/actions/artifact-upload@main | |
with: | |
name: design-system-demo | |
folder: packages/demo/dist/demo |