Skip to content

Commit

Permalink
Run tests on all supported node versions (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankieroberto authored Nov 13, 2023
1 parent 15ef890 commit ffedcd2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: ['16', '18', '20']
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Read .nvmrc
id: nvm
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version: ${{ matrix.node }}
cache: 'npm'

- name: Install dependencies
Expand Down

0 comments on commit ffedcd2

Please sign in to comment.