Skip to content

CI

CI #204

Workflow file for this run

name: CI
on:
- pull_request
- push
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: install
run: npm install
- name: XO
run: npx xo
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: install
run: npm install
- name: build
run: npm run build --if-present
- name: Vitest
run: npx vitest
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: install
run: npm install
- name: build
run: npm run build
Types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: install
run: npm install
- run: npm run build
- run: npx tsd