[ci] Run tests on all supported node versions

This commit is contained in:
Nemo 2021-07-21 13:22:32 +05:30
parent deca378937
commit b0fd29cbdb
1 changed files with 5 additions and 2 deletions

View File

@ -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