Skip to content

Commit

Permalink
Merge pull request #11 from AurelienLourot/quality/tsc-on-ci
Browse files Browse the repository at this point in the history
Run 'tsc --noEmit' on CI
  • Loading branch information
magne4000 authored Sep 9, 2023
2 parents d3e42c4 + 6287ba2 commit 53a0f53
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,32 @@ on:
- pull_request

jobs:
build:
name: Build on ${{ matrix.os }}
test:
name: Test on ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: Install dependencies
run: pnpm install
- run: pnpm install

- name: Build vike-solid
run: pnpm run build

- name: Build example basic
- name: Test building examples/basic
run: pnpm run build
working-directory: ./examples/basic

- name: Build example ssr-spa
- 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

0 comments on commit 53a0f53

Please sign in to comment.