feat(documentation): add version switch active state to v6 #3912
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
### | |
# | |
# Runs all tests in packages changed since main | |
# | |
### | |
name: Unit tests | |
on: | |
pull_request: | |
paths: | |
- 'packages/**' | |
jobs: | |
unit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup | |
uses: swisspost/design-system/.github/actions/setup-pnpm@main | |
# Install packages changed since main, as well as their dependants and dependencies | |
- name: Install dependencies | |
run: pnpm --filter "...[origin/main]" install | |
- name: Run unit tests | |
run: pnpm --filter "...[origin/main]" unit |