build: update CI

This commit is contained in:
Qiuxia Fan
2021-12-21 14:56:38 +08:00
parent cccab0f5fb
commit 48037cb290
2 changed files with 7 additions and 3 deletions

View File

@@ -47,9 +47,10 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
- name: npm install, lint, build, and test
run: |
npm install
npm run lint
npm run build --if-present
npm run test:unit
env: