Skip to content

Commit

Permalink
[actions] split out node 10-20, and 20+
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 11, 2024
1 parent dce0922 commit 27a8947
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/node-tens.yml
Original file line number Diff line number Diff line change
@@ -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

21 changes: 21 additions & 0 deletions .github/workflows/node-twenties.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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

0 comments on commit 27a8947

Please sign in to comment.