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 17, 2024
1 parent 62d9414 commit bfbcae2
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/node-tens.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
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 bfbcae2

Please sign in to comment.