Skip to content

Merge pull request #40 from deepjoy/issue-39 #58

Merge pull request #40 from deepjoy/issue-39

Merge pull request #40 from deepjoy/issue-39 #58

Workflow file for this run

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 check
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [16, 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