Merge pull request #235 from gadget-inc/test-bundles #1067
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
name: "Test" | |
on: | |
push: | |
workflow_call: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-test-env | |
- name: Build all packages (so they can require each other) | |
run: pnpm build | |
- name: Test | |
run: pnpm test | |
- name: Build example package | |
run: pnpm --filter=blog-example build-vite | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-test-env | |
- name: Build all packages (so they can require each other) | |
run: pnpm build | |
- name: Lint | |
run: pnpm lint | |
versions: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-test-env | |
- name: Check dependency versions | |
run: pnpm check-dependency-versions |