Merge pull request #100 from danielroe/schema-augment #59
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: Run tests | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '**/*.md' | |
- '.vscode/*' | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: corepack enable | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: pnpm | |
- run: pnpm install | |
- run: pnpm lint | |
# dev:prepare is needed since we extend from the ./playground/.nuxt/tsconfig.json in ./tsconfig.json | |
- name: Prepare tsconfig | |
run: pnpm dev:prepare | |
- run: pnpm typecheck | |
- run: pnpm test |