[ci] Run tests on all supported node versions
This commit is contained in:
parent
deca378937
commit
b0fd29cbdb
|
@ -1,13 +1,16 @@
|
||||||
on: push
|
on: push
|
||||||
name: Main Workflow
|
name: Main Workflow
|
||||||
jobs:
|
jobs:
|
||||||
runNpmStuff:
|
tests:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node: ['16', '14', '12']
|
||||||
name: Run NPM Stuff
|
name: Run NPM Stuff
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
node-version: ${{matrix.node}}
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|
Loading…
Reference in New Issue