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 install 'nopt@5' - run: rm -rf node_modules/jstest/node_modules/nopt - run: npm test