Fix typecheck in all packages after switch to ESM #1108
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
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 | |
typecheck: | |
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: Typecheck | |
run: pnpm typecheck | |
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 |