add coverage upload to github ci
This commit is contained in:
parent
74228f1fb3
commit
c4a4618840
1 changed files with 11 additions and 3 deletions
14
.github/workflows/node.js.yml
vendored
14
.github/workflows/node.js.yml
vendored
|
@ -17,6 +17,14 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: "npm"
|
||||
- run: npm install -f
|
||||
- run: npm run build
|
||||
- run: npm run test
|
||||
- name: Install dependencies
|
||||
run: npm install -f
|
||||
|
||||
- name: Build project
|
||||
run: npm run build
|
||||
|
||||
- name: Run tests
|
||||
run: npm run test
|
||||
|
||||
- name: Upload coverage
|
||||
uses: codecov/codecov-action@v1
|
||||
|
|
Loading…
Reference in a new issue