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:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
- run: npm install -f
|
- name: Install dependencies
|
||||||
- run: npm run build
|
run: npm install -f
|
||||||
- run: npm run test
|
|
||||||
|
- 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