test: fix ci not work (#1670)

This commit is contained in:
Hu Song
2023-07-31 15:15:55 +08:00
committed by GitHub
parent 2527d45933
commit 8f151ae691

View File

@@ -4,10 +4,12 @@ on:
push:
branches:
- main
- dev/*
pull_request:
branches:
- main
- dev/*
jobs:
lint:
@@ -61,6 +63,12 @@ jobs:
node-version: 16.x
cache: pnpm
- name: Install
run: pnpm install
- name: Build
run: npm run build
- name: Test
run: npm run test-cov
- run: pnpm install codecov -w
- name: Upload coverage to Codecov
run: ./node_modules/.bin/codecov