Skip to content

chore: release v2.0.0 #19

chore: release v2.0.0

chore: release v2.0.0 #19

name: build-typecheck-test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Setup Universal Package Manager
run: npm i -g @antfu/ni
- name: Install
run: nci
- name: Lint
run: nr lint
- name: Typecheck
run: nr typecheck
- name: Test
run: nr test
- name: Test with Coverage
run: nr coverage
- name: Upload Coverage Metric to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}