docs: minor #635
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 ${{ matrix.example }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
example: | |
- examples/basic | |
- examples/react-query | |
- examples/ssr-spa | |
- examples/streaming | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
- run: pnpm install | |
- name: Build packages | |
run: pnpm run build | |
- name: Test packages | |
run: pnpm run test | |
- name: Test building example | |
run: pnpm run build | |
working-directory: ./${{ matrix.example }} | |
- name: Test TypeScript example | |
run: pnpm run test | |
working-directory: ./${{ matrix.example }} |