Skip to content

Commit b6cf113

Browse files
authored
feat: set engines and prerelease for npm 10 (#6674)
BREAKING CHANGE: npm now supports node `^18.17.0 || >=20.5.0`
1 parent e5338af commit b6cf113

28 files changed

+83
-31
lines changed

.github/workflows/audit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ jobs:
2626
- name: Setup Node
2727
uses: actions/setup-node@v3
2828
with:
29-
node-version: 18.x
29+
node-version: 20.x
3030
cache: npm
31+
check-latest: true
3132
- name: Check Git Status
3233
run: node scripts/git-dirty.js
3334
- name: Reset Deps

.github/workflows/ci-libnpmaccess.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
node-version: 18.x
3939
cache: npm
40+
check-latest: true
4041
- name: Check Git Status
4142
run: node scripts/git-dirty.js
4243
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
8586
with:
8687
node-version: ${{ matrix.node-version }}
8788
cache: npm
89+
check-latest: true
8890
- name: Check Git Status
8991
run: node scripts/git-dirty.js
9092
- name: Reset Deps

.github/workflows/ci-libnpmdiff.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
node-version: 18.x
3939
cache: npm
40+
check-latest: true
4041
- name: Check Git Status
4142
run: node scripts/git-dirty.js
4243
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
8586
with:
8687
node-version: ${{ matrix.node-version }}
8788
cache: npm
89+
check-latest: true
8890
- name: Check Git Status
8991
run: node scripts/git-dirty.js
9092
- name: Reset Deps

.github/workflows/ci-libnpmexec.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
node-version: 18.x
3939
cache: npm
40+
check-latest: true
4041
- name: Check Git Status
4142
run: node scripts/git-dirty.js
4243
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
8586
with:
8687
node-version: ${{ matrix.node-version }}
8788
cache: npm
89+
check-latest: true
8890
- name: Check Git Status
8991
run: node scripts/git-dirty.js
9092
- name: Reset Deps

.github/workflows/ci-libnpmfund.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
node-version: 18.x
3939
cache: npm
40+
check-latest: true
4041
- name: Check Git Status
4142
run: node scripts/git-dirty.js
4243
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
8586
with:
8687
node-version: ${{ matrix.node-version }}
8788
cache: npm
89+
check-latest: true
8890
- name: Check Git Status
8991
run: node scripts/git-dirty.js
9092
- name: Reset Deps

.github/workflows/ci-libnpmhook.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
node-version: 18.x
3939
cache: npm
40+
check-latest: true
4041
- name: Check Git Status
4142
run: node scripts/git-dirty.js
4243
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
8586
with:
8687
node-version: ${{ matrix.node-version }}
8788
cache: npm
89+
check-latest: true
8890
- name: Check Git Status
8991
run: node scripts/git-dirty.js
9092
- name: Reset Deps

.github/workflows/ci-libnpmorg.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
node-version: 18.x
3939
cache: npm
40+
check-latest: true
4041
- name: Check Git Status
4142
run: node scripts/git-dirty.js
4243
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
8586
with:
8687
node-version: ${{ matrix.node-version }}
8788
cache: npm
89+
check-latest: true
8890
- name: Check Git Status
8991
run: node scripts/git-dirty.js
9092
- name: Reset Deps

.github/workflows/ci-libnpmpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
node-version: 18.x
3939
cache: npm
40+
check-latest: true
4041
- name: Check Git Status
4142
run: node scripts/git-dirty.js
4243
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
8586
with:
8687
node-version: ${{ matrix.node-version }}
8788
cache: npm
89+
check-latest: true
8890
- name: Check Git Status
8991
run: node scripts/git-dirty.js
9092
- name: Reset Deps

.github/workflows/ci-libnpmpublish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
node-version: 18.x
3939
cache: npm
40+
check-latest: true
4041
- name: Check Git Status
4142
run: node scripts/git-dirty.js
4243
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
8586
with:
8687
node-version: ${{ matrix.node-version }}
8788
cache: npm
89+
check-latest: true
8890
- name: Check Git Status
8991
run: node scripts/git-dirty.js
9092
- name: Reset Deps

.github/workflows/ci-libnpmsearch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
node-version: 18.x
3939
cache: npm
40+
check-latest: true
4041
- name: Check Git Status
4142
run: node scripts/git-dirty.js
4243
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
8586
with:
8687
node-version: ${{ matrix.node-version }}
8788
cache: npm
89+
check-latest: true
8890
- name: Check Git Status
8991
run: node scripts/git-dirty.js
9092
- name: Reset Deps

0 commit comments

Comments
 (0)