chore(changesets): 🦋📦 publish packages (main) #2652
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
### | |
# | |
# DEPRECATED: This Action can be removed as soon as we start working on V2/V9 | |
# | |
### | |
name: Build Demo App | |
on: | |
pull_request: | |
types: [opened, synchronize, edited, reopened] | |
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: Create preview message | |
uses: ./.github/actions/preview/message/create | |
with: | |
access-token: ${{ secrets.SWISSPOSTDEVS_ACCESS_TOKEN }} | |
- name: Setup | |
uses: ./.github/actions/setup-pnpm | |
- name: Bootstrap & Build Design System | |
run: | | |
pnpm --filter design-system-demo... install | |
pnpm --filter design-system-demo... build | |
- name: Upload build artifacts | |
uses: ./.github/actions/artifact-upload | |
with: | |
name: design-system-demo | |
folder: packages/demo/dist/demo |