Skip to content

Commit

Permalink
add more node version cover
Browse files Browse the repository at this point in the history
  • Loading branch information
egermano committed Oct 22, 2024
1 parent 7db6782 commit 5d0d26a
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/nodejs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,21 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install, build, and test
run: |
npm ci
npm run lint
npm run build
npm run test
env:
CI: true
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install, build, and test
run: |
npm ci
npm run lint
npm run build
npm run test

0 comments on commit 5d0d26a

Please sign in to comment.