Skip to content

Commit

Permalink
chore: update Node.js versions for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Feb 6, 2024
1 parent 34942a5 commit f4b26bb
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
name: CI

on: [push, pull_request]

defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16', '18']

node: ['18', '20']
name: Node ${{ matrix.node }} CI

steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm

- name: dependencies
run: npm ci

- name: lint
run: npm run lint

- name: test
run: npm test

0 comments on commit f4b26bb

Please sign in to comment.