Merge pull request #118 from eryue0220/fix/jsr-build-error #228
This file contains hidden or 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: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-and-cache | |
- name: Install | |
run: pnpm i | |
- name: Lint | |
run: pnpm run ci | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
node: [18, 20] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-and-cache | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install | |
run: pnpm i | |
- name: Unit Test | |
run: pnpm run test |