29 lines
514 B
YAML
29 lines
514 B
YAML
name: CI
|
|
|
|
on:
|
|
push: { branches: ["0.x"] }
|
|
pull_request: { branches: ["0.x"] }
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v2
|
|
with: { node-version: 18 }
|
|
|
|
- name: Install dependencies
|
|
run: yarn install
|
|
|
|
- name: Lint
|
|
run: yarn lint
|
|
|
|
- name: Type Check
|
|
run: yarn build
|
|
|
|
- name: Test
|
|
run: yarn test --coverage
|