add readme #1
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 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- run: pnpm install | |
- name: Build packages | |
run: pnpm run build | |
- name: Test building example | |
run: pnpm run build | |
working-directory: ./${{ matrix.example }} | |
- name: Test TypeScript example | |
run: pnpm run test | |
working-directory: ./${{ matrix.example }} |