From d185cee45f17f1a69705d034eb370dbbbc9fba2d Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 6 Nov 2024 20:36:40 +0000 Subject: [PATCH] [actions] split out node 10-20, and 20+ --- .github/workflows/node-tens.yml | 11 ++--------- .github/workflows/node-twenties.yml | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/node-twenties.yml diff --git a/.github/workflows/node-tens.yml b/.github/workflows/node-tens.yml index ce8d325e..7ac9c5b1 100644 --- a/.github/workflows/node-tens.yml +++ b/.github/workflows/node-tens.yml @@ -1,4 +1,4 @@ -name: 'Tests: node.js >= 10' +name: 'Tests: node.js 10 - 20' on: [pull_request, push] @@ -9,13 +9,6 @@ jobs: tests: uses: ljharb/actions/.github/workflows/node.yml@main with: - range: '>= 10' + range: '>= 10 < 20' type: minors command: npm run tests-only - - node: - name: 'node >= 10' - needs: [tests] - runs-on: ubuntu-latest - steps: - - run: 'echo tests completed' diff --git a/.github/workflows/node-twenties.yml b/.github/workflows/node-twenties.yml new file mode 100644 index 00000000..209e1572 --- /dev/null +++ b/.github/workflows/node-twenties.yml @@ -0,0 +1,14 @@ +name: 'Tests: node.js >= 20' + +on: [pull_request, push] + +permissions: + contents: read + +jobs: + tests: + uses: ljharb/actions/.github/workflows/node.yml@main + with: + range: '>= 20' + type: minors + command: npm run tests-only