From c9a1e4f1fd50277ef85f04ee293795e433436f8c Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 12 Dec 2024 14:19:07 -0800 Subject: [PATCH] [actions] split out node 10-20, and 20+ --- .github/workflows/node-tens.yml | 12 ++++++++---- .github/workflows/node-twenties.yml | 22 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/node-twenties.yml diff --git a/.github/workflows/node-tens.yml b/.github/workflows/node-tens.yml index b49ceb1..655ce6e 100644 --- a/.github/workflows/node-tens.yml +++ b/.github/workflows/node-tens.yml @@ -1,18 +1,22 @@ -name: 'Tests: node.js >= 10' +name: 'Tests: node.js 10 - 20' on: [pull_request, push] +permissions: + contents: read + 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' + name: 'node 10 - 20' needs: [tests] runs-on: ubuntu-latest steps: - - run: 'echo tests completed' + - run: true + diff --git a/.github/workflows/node-twenties.yml b/.github/workflows/node-twenties.yml new file mode 100644 index 0000000..36aeca2 --- /dev/null +++ b/.github/workflows/node-twenties.yml @@ -0,0 +1,22 @@ +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 + + node: + name: 'node >= 20' + needs: [tests] + runs-on: ubuntu-latest + steps: + - run: true +