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 Nov 23, 2024
1 parent 6482025 commit b4bc95a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/node-tens.yml
Original file line number Diff line number Diff line change
@@ -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'
14 changes: 14 additions & 0 deletions .github/workflows/node-twenties.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b4bc95a

Please sign in to comment.