1 name: 'Tests: node.js (io.js)'
3 on: [pull_request, push]
9 latest: ${{ steps.set-matrix.outputs.requireds }}
10 minors: ${{ steps.set-matrix.outputs.optionals }}
12 - uses: ljharb/actions/node/matrix@main
20 runs-on: ubuntu-latest
23 matrix: ${{ fromJson(needs.matrix.outputs.latest) }}
26 - uses: actions/checkout@v2
27 - uses: ljharb/actions/node/run@main
28 name: 'npm install && npm run tests-only'
30 node-version: ${{ matrix.node-version }}
35 needs: [matrix, latest]
36 name: 'non-latest minors'
37 continue-on-error: true
38 if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }}
39 runs-on: ubuntu-latest
42 matrix: ${{ fromJson(needs.matrix.outputs.minors) }}
45 - uses: actions/checkout@v2
46 - uses: ljharb/actions/node/run@main
47 name: 'npm install && npm run tests-only'
49 node-version: ${{ matrix.node-version }}
55 needs: [latest, minors]
56 runs-on: ubuntu-latest
58 - run: 'echo tests completed'