Skip to content

Commit

Permalink
chore: update test runners to use modern LTS and next Node.js for tes…
Browse files Browse the repository at this point in the history
…t runner (#26)

closes #25
  • Loading branch information
grempe authored Feb 13, 2022
1 parent c93c359 commit 99fc5ff
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,26 @@ name: Tests
on: push

jobs:
nodejs:
specs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
node-version: [16.x, 17.x]
steps:
- uses: actions/checkout@v2
- name: Node.js specs ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Specs ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm run test:specs
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Formatting
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 16.x
- run: npm ci
- run: npm run test:format

0 comments on commit 99fc5ff

Please sign in to comment.