[tests] Run tests on all supported node versions

This commit is contained in:
Nemo 2021-07-18 17:28:14 +05:30
parent 1c72d60761
commit 4c3cfedc9c
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