Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Jul 21, 2024
1 parent 6ef9ba5 commit 6fe3713
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Node.js CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
lint:
Expand All @@ -16,6 +16,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "18"
- run: npm i -g npm
- run: npm install
- run: npm run lint

Expand All @@ -26,15 +27,16 @@ jobs:
matrix:
os: [ubuntu-latest, macos-14, windows-latest]
# See https://github.com/nodejs/release#release-schedule
node-version: [18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.5.1]

steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run test
- uses: actions/checkout@v4
with:
lfs: true
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install --global npm
- run: npm install
- run: npm run test

0 comments on commit 6fe3713

Please sign in to comment.