chore: update CI workflow to include Node.js 14.x (#404)
Signed-off-by: Lance Ball <lball@redhat.com>
This commit is contained in:
parent
edd3c7fbac
commit
cc43f3bd10
|
@ -15,7 +15,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [10.x, 12.x]
|
node-version: [10.x, 12.x, 14.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -35,7 +35,7 @@ jobs:
|
||||||
- name: Generate coverage report
|
- name: Generate coverage report
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 12.x
|
node-version: 14.x
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- run: npm run coverage
|
- run: npm run coverage
|
||||||
|
@ -58,7 +58,7 @@ jobs:
|
||||||
- name: Upload coverage report to codacy
|
- name: Upload coverage report to codacy
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 12.x
|
node-version: 14.x
|
||||||
- run: |
|
- run: |
|
||||||
( [[ "${CODACY_PROJECT_TOKEN}" != "" ]] && npm run coverage-publish ) || echo "Coverage report not published"
|
( [[ "${CODACY_PROJECT_TOKEN}" != "" ]] && npm run coverage-publish ) || echo "Coverage report not published"
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue