Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit c100dda

Browse files
authored
Update node.js.yml
- Increased version range (see #7) - Updated Actions - Upload coverage to codacy
1 parent 7ce385d commit c100dda

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
13-
1412
strategy:
1513
matrix:
16-
node-version: [10.x, 12.x, 14.x]
14+
node-version: [8.x, 10.x, 12.x, 14.x]
1715

1816
steps:
1917
- uses: actions/checkout@v2
2018
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v1
19+
uses: actions/setup-node@v2
2220
with:
2321
node-version: ${{ matrix.node-version }}
2422
- run: npm ci
2523
- run: npm test
24+
- name: Run codacy-coverage-reporter
25+
uses: codacy/codacy-coverage-reporter-action@master
26+
with:
27+
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
28+
coverage-reports: coverage/lcov.info

0 commit comments

Comments
 (0)