Skip to content

Commit

Permalink
Updates to github test
Browse files Browse the repository at this point in the history
  • Loading branch information
brendannee committed Feb 19, 2024
1 parent 6137c37 commit 9f1256a
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,17 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest

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

node: [ 18, 20 ]
name: Use Node.js ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm install -g npm@9
npm ci
npm test
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
env:
CI: true

0 comments on commit 9f1256a

Please sign in to comment.