Skip to content

Commit

Permalink
Check npm build for node-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
trafficonese committed Mar 16, 2024
1 parent 110e36d commit b3f6ed0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/npm_run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ name: Node.js CI
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npx napa
- run: npm run build --if-present

0 comments on commit b3f6ed0

Please sign in to comment.