Skip to content

Commit

Permalink
[Tests] split up node tests; skip npm ls on node < 10
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 28, 2021
1 parent e72985a commit 2434d32
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/node-aught.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Tests: node.js < 10'

on: [pull_request, push]

jobs:
tests:
uses: ljharb/actions/.github/workflows/node.yml@main
with:
range: '>= 4 < 10'
type: minors
command: npm run tests-only
skip-ls-check: true

node:
name: 'node < 10'
needs: [tests]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: 'Tests: node.js >= 4'
name: 'Tests: node.js >= 10'

on: [pull_request, push]

jobs:
tests:
uses: ljharb/actions/.github/workflows/node.yml@main
with:
range: '>= 4'
range: '>= 10'
type: minors
command: npm run tests-only

node:
name: 'node >= 4'
name: 'node >= 10'
needs: [tests]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 2434d32

Please sign in to comment.