Skip to content

Commit

Permalink
ci(build): updated CI to use node 20 and to test on all current versi…
Browse files Browse the repository at this point in the history
…ons of node
  • Loading branch information
dancrumb committed May 25, 2024
1 parent 86680d8 commit 0089260
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,27 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
- uses: actions/checkout@v4.1.6
- name: Use Node.js 20.x
uses: actions/setup-node@v4.0.2
with:
node-version: 18.x
cache: "yarn"
node-version: 20.x
cache: 'yarn'
- run: yarn install --immutable
- run: yarn run lint
test:
strategy:
matrix:
node-version: [18.x]
node-version: [18.x, 20.x, 21.x, 22.x, 23.x, 24.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/[email protected]

with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
cache: 'yarn'
- run: yarn install --immutable
- name: Code Climate Coverage Action
uses: paambaati/codeclimate-action@v5
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.20.2
20.13.1

0 comments on commit 0089260

Please sign in to comment.