Skip to content

Commit

Permalink
Test older NodeJS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
gpotter2 committed Jul 24, 2023
1 parent dbb252b commit e8a961b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 15, 16, 18]
node-version: [10, 12, 14, 15, 16, 18]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
- name: Get Node.js ${{ matrix.node-version >= 16 && matrix.node-version || 18 }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node-version >= 16 && matrix.node-version || 18 }}
- run: make
- name: Get Node.js ${{ matrix.node-version }}
if: ${{ matrix.node-version < 16 }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm test

0 comments on commit e8a961b

Please sign in to comment.