From 8c9aedf2cd9b3fd4ee045d747580265de223b4b2 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 29 Nov 2024 14:06:49 -0800 Subject: [PATCH] [actions] split out node 10-20, and 20+ --- .github/workflows/node-tens.yml | 14 +++++--------- .github/workflows/node-twenties.yml | 14 ++++++++++++++ 2 files changed, 19 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 b49ceb1..7ac9c5b 100644 --- a/.github/workflows/node-tens.yml +++ b/.github/workflows/node-tens.yml @@ -1,18 +1,14 @@ -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' - 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 0000000..209e157 --- /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