Skip to content

Commit

Permalink
Merge pull request #31 from jleh/jleh-patch-1
Browse files Browse the repository at this point in the history
Update node.js.yml
  • Loading branch information
jleh authored Jun 18, 2024
2 parents 4c2e971 + a07e425 commit b7ac20a
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@ jobs:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x, 21.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run build --if-present
- run: npm test

0 comments on commit b7ac20a

Please sign in to comment.