Skip to content

fix: 调整类型声明,解决 TS 报错 #100

fix: 调整类型声明,解决 TS 报错

fix: 调整类型声明,解决 TS 报错 #100

Workflow file for this run

name: Codecov
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test:all -- --coverage
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}