Skip to content

Commit

Permalink
qual: improve CI
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout authored and lourot committed Sep 8, 2023
1 parent d3e42c4 commit 6287ba2
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 6287ba2

Please sign in to comment.