chore(changesets): 🦋📦 publish packages (main) (next) #6220
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: ./.github/actions/setup-pnpm | |
- name: Install dependencies and build packages | |
run: pnpm bootstrap | |
- name: Run unit tests | |
run: pnpm --filter "...[origin/main]" unit |