Run 'tsc --noEmit' on CI #4
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: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
name: Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- run: pnpm install | |
- name: Build vike-solid | |
run: pnpm run build | |
- name: Test building examples/basic | |
run: pnpm run build | |
working-directory: ./examples/basic | |
- name: Test building examples/ssr-spa | |
run: pnpm run build | |
working-directory: ./examples/ssr-spa | |
- name: Test TypeScript examples/basic | |
run: pnpm exec tsc --noEmit | |
working-directory: ./examples/basic | |
- name: Test TypeScript examples/ssr-spa | |
run: pnpm exec tsc --noEmit | |
working-directory: ./examples/ssr-spa |