Test on recent Node versions #7
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
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- '0.8' | |
- '0.10' | |
- '0.12' | |
- '4' | |
- '6' | |
- '8' | |
- '10' | |
- '12' | |
- '14' | |
- '16' | |
- '18' | |
- '20' | |
name: node.js v${{ matrix.node }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- if: matrix.node == '0.8' | |
run: npm conf set strict-ssl false | |
- run: node --version | |
- run: npm install | |
- run: npm test |