Merge pull request #5 from sseide/dependabot/github_actions/actions/c… #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# actions tests the code with different node LTS versions | |
name: npm-test-node-versions | |
on: | |
push: | |
branches: | |
- "*" | |
jobs: | |
run_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '10', '12', '14', '16' ] | |
name: Node ${{ matrix.node }} test run | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm install | |
- run: npm test | |