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