Skip to content

Commit

Permalink
chore(ci): Update Node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
fb55 authored Jan 4, 2024
1 parent 36ee580 commit 085e95f
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/nodejs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:
env:
CI: true
FORCE_COLOR: 2
NODE_COV: 16 # The Node.js version to run coveralls on
NODE_COV: "lts/*" # The Node.js version to run coveralls on

permissions:
contents: read

jobs:
lint:
Expand All @@ -18,23 +21,26 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run lint

test:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node:
- 10
- 12
- 14
- 16
- 18
- 20
- "lts/*"

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 085e95f

Please sign in to comment.