Skip to content

Commit

Permalink
Update CI action to node 18.x
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Moore <1930631+OneCricketeer@users.noreply.github.com>
  • Loading branch information
OneCricketeer committed Mar 7, 2023
1 parent 870d211 commit d2c4a5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs-ci-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [12.x, 14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Generate coverage report
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 18.x
- run: npm ci
- run: npm run build --if-present
- run: npm run coverage
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Upload coverage report to codacy
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 18.x
- run: |
( [[ "${CODACY_PROJECT_TOKEN}" != "" ]] && npm run coverage-publish ) || echo "Coverage report not published"
env:
Expand Down

0 comments on commit d2c4a5e

Please sign in to comment.