Upgrade Node.js to 24 for npm trusted publishing (#329)

This commit is contained in:
eric sciple
2026-02-25 15:04:40 -06:00
committed by GitHub
parent 9dd856db3d
commit 9f770badd3
8 changed files with 41 additions and 14 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
node-version: [20.x, 22.x, 24.x]
steps:
- uses: actions/checkout@v4
@@ -37,10 +37,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22.x
- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 22.x
node-version: 24.x
cache: 'npm'
registry-url: 'https://npm.pkg.github.com'
- run: npm ci
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: 24.x
- name: Bump version and push
run: |
+4 -2
View File
@@ -70,7 +70,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22.x
node-version: 24.x
cache: "npm"
registry-url: 'https://registry.npmjs.org'
scope: '@actions'
@@ -101,4 +101,6 @@ jobs:
- name: Publish packages
run: |
lerna publish ${{ env.PKG_VERSION }} --yes --no-git-reset --no-git-tag-version
lerna publish ${{ env.PKG_VERSION }} --yes --no-git-reset --no-git-tag-version
env:
NPM_CONFIG_PROVENANCE: 'true'
+1 -1
View File
@@ -44,7 +44,7 @@
"watch": "tsc --build tsconfig.build.json --watch"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
},
"files": [
"dist/**/*"
+1 -1
View File
@@ -57,7 +57,7 @@
"yaml": "^2.1.3"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
},
"files": [
"dist/**/*",
+1 -1
View File
@@ -55,7 +55,7 @@
"yaml": "^2.1.1"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
},
"files": [
"dist/**/*"
+29 -4
View File
@@ -152,7 +152,7 @@
"typescript": "^5.8.3"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
}
},
"expressions/node_modules/@eslint/eslintrc": {
@@ -426,7 +426,7 @@
"typescript": "^4.8.4"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
}
},
"languageserver/node_modules/@eslint/eslintrc": {
@@ -966,7 +966,7 @@
"typescript": "^4.8.4"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
}
},
"languageservice/node_modules/@eslint/eslintrc": {
@@ -6350,6 +6350,31 @@
"dev": true,
"license": "MIT"
},
"node_modules/encoding": {
"version": "0.1.13",
"resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
"integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
"iconv-lite": "^0.6.2"
}
},
"node_modules/encoding/node_modules/iconv-lite": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
"integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3.0.0"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/end-of-stream": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
@@ -13366,7 +13391,7 @@
"typescript": "^4.8.4"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
}
},
"workflow-parser/node_modules/typescript": {
+1 -1
View File
@@ -53,7 +53,7 @@
"yaml": "^2.0.0-8"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
},
"files": [
"dist/**/*"