Skip to content

Commit

Permalink
Adjust CI
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed May 5, 2023
1 parent fb5cd9d commit 531b6a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ name: Node CI
on: [push, pull_request]
jobs:
test:
name: node @ ubuntu-latest
name: v${{ matrix.node }} @ ubuntu-latest
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run build --if-present
- run: npm run lint --if-present
- run: npm test
- run: npm run lint --if-present

0 comments on commit 531b6a3

Please sign in to comment.