Skip to content

Commit bb27458

Browse files
authored
Merge pull request #169 from bcomnes/node-20-or-greater
2 parents 935794c + b1b12f8 commit bb27458

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ on:
88
required: true
99

1010
env:
11-
NODE_VERSION: 'lts/*'
12-
FORCE_COLOR: 2
11+
FORCE_COLOR: 1
1312

1413
concurrency: # prevent concurrent releases
1514
group: npm-bump
@@ -23,10 +22,10 @@ jobs:
2322
with:
2423
# fetch full history so things like auto-changelog work properly
2524
fetch-depth: 0
26-
- name: Use Node.js ${{ env.NODE_VERSION }}
25+
- name: Use Node.js
2726
uses: actions/setup-node@v4
2827
with:
29-
node-version: ${{ env.NODE_VERSION }}
28+
node-version-file: package.json
3029
# setting a registry enables the NODE_AUTH_TOKEN env variable where we can set an npm token. REQUIRED
3130
registry-url: 'https://registry.npmjs.org'
3231
- run: npm i

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21-
- name: Use Node.js lts/*
21+
- name: Use Node.js
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: lts/*
24+
node-version-file: package.json
2525
- run: npm i
2626
- run: npm run check
2727

@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
os: [ubuntu-latest, windows-latest, macos-latest]
35-
node: ['lts/*', 18]
35+
node: ['20', 'lts/*', '23']
3636

3737
steps:
3838
- uses: actions/checkout@v4

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "npm-run-all2",
33
"version": "7.0.2",
4-
"description": "A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintainence fork)",
4+
"description": "A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintenance fork)",
55
"bin": {
66
"run-p": "bin/run-p/index.js",
77
"run-s": "bin/run-s/index.js",
@@ -10,8 +10,8 @@
1010
},
1111
"main": "lib/index.js",
1212
"engines": {
13-
"node": "^18.17.0 || >=20.5.0",
14-
"npm": ">= 9"
13+
"node": ">=20.5.0",
14+
"npm": ">= 10"
1515
},
1616
"scripts": {
1717
"clean": "rm -rf coverage jsdoc \"test-workspace/{build,test.txt}\"",

0 commit comments

Comments
 (0)