Skip to content

Commit aa3ed29

Browse files
owlstronautwraithgar
authored andcommitted
fix!: align to npm 11 node engine range
BREAKING CHANGE: `npm-package-arg` now supports node `^20.17.0 || >=22.9.0`
1 parent fb6ea64 commit aa3ed29

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

.github/workflows/ci-release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,17 @@ jobs:
8787
os: windows-latest
8888
shell: cmd
8989
node-version:
90-
- 18.17.0
91-
- 18.x
92-
- 20.5.0
90+
- 20.17.0
9391
- 20.x
92+
- 22.9.0
9493
- 22.x
9594
exclude:
9695
- platform: { name: macOS, os: macos-13, shell: bash }
97-
node-version: 18.17.0
98-
- platform: { name: macOS, os: macos-13, shell: bash }
99-
node-version: 18.x
100-
- platform: { name: macOS, os: macos-13, shell: bash }
101-
node-version: 20.5.0
96+
node-version: 20.17.0
10297
- platform: { name: macOS, os: macos-13, shell: bash }
10398
node-version: 20.x
99+
- platform: { name: macOS, os: macos-13, shell: bash }
100+
node-version: 22.9.0
104101
- platform: { name: macOS, os: macos-13, shell: bash }
105102
node-version: 22.x
106103
runs-on: ${{ matrix.platform.os }}

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,17 @@ jobs:
6464
os: windows-latest
6565
shell: cmd
6666
node-version:
67-
- 18.17.0
68-
- 18.x
69-
- 20.5.0
67+
- 20.17.0
7068
- 20.x
69+
- 22.9.0
7170
- 22.x
7271
exclude:
7372
- platform: { name: macOS, os: macos-13, shell: bash }
74-
node-version: 18.17.0
75-
- platform: { name: macOS, os: macos-13, shell: bash }
76-
node-version: 18.x
77-
- platform: { name: macOS, os: macos-13, shell: bash }
78-
node-version: 20.5.0
73+
node-version: 20.17.0
7974
- platform: { name: macOS, os: macos-13, shell: bash }
8075
node-version: 20.x
76+
- platform: { name: macOS, os: macos-13, shell: bash }
77+
node-version: 22.9.0
8178
- platform: { name: macOS, os: macos-13, shell: bash }
8279
node-version: 22.x
8380
runs-on: ${{ matrix.platform.os }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"homepage": "https://github.com/npm/npm-package-arg",
4646
"engines": {
47-
"node": "^18.17.0 || >=20.5.0"
47+
"node": "^20.17.0 || >=22.9.0"
4848
},
4949
"tap": {
5050
"branches": 97,

0 commit comments

Comments
 (0)