diff --git a/.github/workflows/node-10-11.yml b/.github/workflows/node-10-11.yml index 3339610..9f42e25 100644 --- a/.github/workflows/node-10-11.yml +++ b/.github/workflows/node-10-11.yml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.latest) }} command: @@ -46,6 +47,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.minors) }} command: @@ -68,4 +70,4 @@ jobs: needs: [latest, minors] runs-on: ubuntu-latest steps: - - run: 'echo tests completed' + - run: true diff --git a/.github/workflows/node-12-13.yml b/.github/workflows/node-12-13.yml index e6f49f4..a2a4aec 100644 --- a/.github/workflows/node-12-13.yml +++ b/.github/workflows/node-12-13.yml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.latest) }} command: @@ -46,6 +47,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.minors) }} command: @@ -68,4 +70,4 @@ jobs: needs: [latest, minors] runs-on: ubuntu-latest steps: - - run: 'echo tests completed' + - run: true diff --git a/.github/workflows/node-14-15.yml b/.github/workflows/node-14-15.yml index dece750..5f7f9d9 100644 --- a/.github/workflows/node-14-15.yml +++ b/.github/workflows/node-14-15.yml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.latest) }} command: @@ -46,6 +47,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.minors) }} command: @@ -68,4 +70,4 @@ jobs: needs: [latest, minors] runs-on: ubuntu-latest steps: - - run: 'echo tests completed' + - run: true diff --git a/.github/workflows/node-16-17.yml b/.github/workflows/node-16-17.yml new file mode 100644 index 0000000..e2d2e06 --- /dev/null +++ b/.github/workflows/node-16-17.yml @@ -0,0 +1,71 @@ +name: 'Tests: node.js (v16 - 17)' + +on: [pull_request, push] + +jobs: + matrix: + runs-on: ubuntu-latest + outputs: + latest: ${{ steps.set-matrix.outputs.requireds }} + minors: ${{ steps.set-matrix.outputs.optionals }} + steps: + - uses: ljharb/actions/node/matrix@main + id: set-matrix + with: + versionsAsRoot: true + preset: '^16 || ^17' + + latest: + needs: [matrix] + name: 'latest minors' + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + node-version: ${{ fromJson(needs.matrix.outputs.latest) }} + command: + - test:stock + - test:shams:corejs + - test:shams:getownpropertysymbols + + steps: + - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + name: 'nvm install ${{ matrix.node-version }} && npm install' + with: + node-version: ${{ matrix.node-version }} + - run: npm run ${{ matrix.command }} + - uses: codecov/codecov-action@v3.1.5 + + minors: + needs: [matrix, latest] + name: 'non-latest minors' + continue-on-error: true + if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + node-version: ${{ fromJson(needs.matrix.outputs.minors) }} + command: + - test:stock + - test:shams:corejs + - test:shams:getownpropertysymbols + + steps: + - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + name: 'nvm install ${{ matrix.node-version }} && npm install' + with: + node-version: ${{ matrix.node-version }} + - run: npm run ${{ matrix.command }} + - uses: codecov/codecov-action@v3.1.5 + + node: + name: 'node v16 - v17' + needs: [latest, minors] + runs-on: ubuntu-latest + steps: + - run: true diff --git a/.github/workflows/node-18-19.yml b/.github/workflows/node-18-19.yml new file mode 100644 index 0000000..3153d75 --- /dev/null +++ b/.github/workflows/node-18-19.yml @@ -0,0 +1,71 @@ +name: 'Tests: node.js (v18 - 19)' + +on: [pull_request, push] + +jobs: + matrix: + runs-on: ubuntu-latest + outputs: + latest: ${{ steps.set-matrix.outputs.requireds }} + minors: ${{ steps.set-matrix.outputs.optionals }} + steps: + - uses: ljharb/actions/node/matrix@main + id: set-matrix + with: + versionsAsRoot: true + preset: '^18 || ^19' + + latest: + needs: [matrix] + name: 'latest minors' + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + node-version: ${{ fromJson(needs.matrix.outputs.latest) }} + command: + - test:stock + - test:shams:corejs + - test:shams:getownpropertysymbols + + steps: + - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + name: 'nvm install ${{ matrix.node-version }} && npm install' + with: + node-version: ${{ matrix.node-version }} + - run: npm run ${{ matrix.command }} + - uses: codecov/codecov-action@v3.1.5 + + minors: + needs: [matrix, latest] + name: 'non-latest minors' + continue-on-error: true + if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + node-version: ${{ fromJson(needs.matrix.outputs.minors) }} + command: + - test:stock + - test:shams:corejs + - test:shams:getownpropertysymbols + + steps: + - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + name: 'nvm install ${{ matrix.node-version }} && npm install' + with: + node-version: ${{ matrix.node-version }} + - run: npm run ${{ matrix.command }} + - uses: codecov/codecov-action@v3.1.5 + + node: + name: 'node v18 - 19' + needs: [latest, minors] + runs-on: ubuntu-latest + steps: + - run: true diff --git a/.github/workflows/node-20-21.yml b/.github/workflows/node-20-21.yml new file mode 100644 index 0000000..5cce89c --- /dev/null +++ b/.github/workflows/node-20-21.yml @@ -0,0 +1,69 @@ +name: 'Tests: node.js (v20 - 21)' + +on: [pull_request, push] + +jobs: + matrix: + runs-on: ubuntu-latest + outputs: + latest: ${{ steps.set-matrix.outputs.requireds }} + minors: ${{ steps.set-matrix.outputs.optionals }} + steps: + - uses: ljharb/actions/node/matrix@main + id: set-matrix + with: + versionsAsRoot: true + preset: '^20 || ^21' + + latest: + needs: [matrix] + name: 'latest minors' + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: ${{ fromJson(needs.matrix.outputs.latest) }} + command: + - test:stock + - test:shams:corejs + - test:shams:getownpropertysymbols + + steps: + - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + name: 'nvm install ${{ matrix.node-version }} && npm install' + with: + node-version: ${{ matrix.node-version }} + - run: npm run ${{ matrix.command }} + - uses: codecov/codecov-action@v3.1.5 + + minors: + needs: [matrix, latest] + name: 'non-latest minors' + continue-on-error: true + if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: ${{ fromJson(needs.matrix.outputs.minors) }} + command: + - test:stock + - test:shams:corejs + - test:shams:getownpropertysymbols + + steps: + - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + name: 'nvm install ${{ matrix.node-version }} && npm install' + with: + node-version: ${{ matrix.node-version }} + - run: npm run ${{ matrix.command }} + - uses: codecov/codecov-action@v3.1.5 + + node: + name: 'node v20 - v21' + needs: [latest, minors] + runs-on: ubuntu-latest + steps: + - run: true diff --git a/.github/workflows/node-22+.yml b/.github/workflows/node-22+.yml new file mode 100644 index 0000000..33e17fe --- /dev/null +++ b/.github/workflows/node-22+.yml @@ -0,0 +1,71 @@ +name: 'Tests: node.js (v22+)' + +on: [pull_request, push] + +jobs: + matrix: + runs-on: ubuntu-latest + outputs: + latest: ${{ steps.set-matrix.outputs.requireds }} + minors: ${{ steps.set-matrix.outputs.optionals }} + steps: + - uses: ljharb/actions/node/matrix@main + id: set-matrix + with: + versionsAsRoot: true + preset: '>=22' + + latest: + needs: [matrix] + name: 'latest minors' + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + node-version: ${{ fromJson(needs.matrix.outputs.latest) }} + command: + - test:stock + - test:shams:corejs + - test:shams:getownpropertysymbols + + steps: + - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + name: 'nvm install ${{ matrix.node-version }} && npm install' + with: + node-version: ${{ matrix.node-version }} + - run: npm run ${{ matrix.command }} + - uses: codecov/codecov-action@v3.1.5 + + minors: + needs: [matrix, latest] + name: 'non-latest minors' + continue-on-error: true + if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }} + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + node-version: ${{ fromJson(needs.matrix.outputs.minors) }} + command: + - test:stock + - test:shams:corejs + - test:shams:getownpropertysymbols + + steps: + - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + name: 'nvm install ${{ matrix.node-version }} && npm install' + with: + node-version: ${{ matrix.node-version }} + - run: npm run ${{ matrix.command }} + - uses: codecov/codecov-action@v3.1.5 + + node: + name: 'node v22+' + needs: [latest, minors] + runs-on: ubuntu-latest + steps: + - run: true diff --git a/.github/workflows/node-4-6.yml b/.github/workflows/node-4-6.yml index a26752c..a56cf68 100644 --- a/.github/workflows/node-4-6.yml +++ b/.github/workflows/node-4-6.yml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.latest) }} command: @@ -46,6 +47,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.minors) }} command: @@ -68,4 +70,4 @@ jobs: needs: [latest, minors] runs-on: ubuntu-latest steps: - - run: 'echo tests completed' + - run: true diff --git a/.github/workflows/node-7-9.yml b/.github/workflows/node-7-9.yml index db6f0de..49bb82e 100644 --- a/.github/workflows/node-7-9.yml +++ b/.github/workflows/node-7-9.yml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.latest) }} command: @@ -46,6 +47,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.minors) }} command: @@ -68,4 +70,4 @@ jobs: needs: [latest, minors] runs-on: ubuntu-latest steps: - - run: 'echo tests completed' + - run: true diff --git a/.github/workflows/node-iojs.yml b/.github/workflows/node-iojs.yml index 11260d9..97c7272 100644 --- a/.github/workflows/node-iojs.yml +++ b/.github/workflows/node-iojs.yml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.latest) }} command: @@ -47,6 +48,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node-version: ${{ fromJson(needs.matrix.outputs.minors) }} command: @@ -70,4 +72,4 @@ jobs: needs: [latest, minors] runs-on: ubuntu-latest steps: - - run: 'echo tests completed' + - run: true diff --git a/.github/workflows/node-zero.yml b/.github/workflows/node-zero.yml index 6c958e3..85f45f3 100644 --- a/.github/workflows/node-zero.yml +++ b/.github/workflows/node-zero.yml @@ -74,4 +74,4 @@ jobs: needs: [stable, unstable] runs-on: ubuntu-latest steps: - - run: 'echo tests completed' + - run: true