1 name: 'Tests: node.js (harmony)'
3 on: [pull_request, push]
9 stable: ${{ steps.set-matrix.outputs.requireds }}
10 unstable: ${{ steps.set-matrix.outputs.optionals }}
12 - uses: ljharb/actions/node/matrix@main
21 runs-on: ubuntu-latest
25 node-version: ${{ fromJson(needs.matrix.outputs.stable) }}
28 - uses: actions/checkout@v2
29 - uses: ljharb/actions/node/run@main
30 name: 'npm install && npm run test:harmony'
32 node-version: ${{ matrix.node-version }}
33 command: 'test:harmony'
34 cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }}
38 needs: [matrix, stable]
39 name: 'unstable minors'
40 continue-on-error: true
41 if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }}
42 runs-on: ubuntu-latest
46 node-version: ${{ fromJson(needs.matrix.outputs.unstable) }}
52 - uses: actions/checkout@v2
53 - uses: ljharb/actions/node/run@main
54 name: 'npm install && npm run test:harmony'
56 node-version: ${{ matrix.node-version }}
57 command: 'test:harmony'
58 cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }}
63 needs: [stable, unstable]
64 runs-on: ubuntu-latest
66 - run: 'echo tests completed'