Skip to content

Commit 9f770ba

Browse files
authored
Upgrade Node.js to 24 for npm trusted publishing (#329)
1 parent 9dd856d commit 9f770ba

File tree

8 files changed

+41
-14
lines changed

8 files changed

+41
-14
lines changed

.github/workflows/buildtest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node-version: [18.x, 20.x, 22.x]
17+
node-version: [20.x, 22.x, 24.x]
1818

1919
steps:
2020
- uses: actions/checkout@v4
@@ -37,10 +37,10 @@ jobs:
3737

3838
steps:
3939
- uses: actions/checkout@v4
40-
- name: Use Node.js 22.x
40+
- name: Use Node.js 24.x
4141
uses: actions/setup-node@v4
4242
with:
43-
node-version: 22.x
43+
node-version: 24.x
4444
cache: 'npm'
4545
registry-url: 'https://npm.pkg.github.com'
4646
- run: npm ci

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- uses: actions/setup-node@v4
3131
with:
32-
node-version: "16"
32+
node-version: 24.x
3333

3434
- name: Bump version and push
3535
run: |

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070

7171
- uses: actions/setup-node@v4
7272
with:
73-
node-version: 22.x
73+
node-version: 24.x
7474
cache: "npm"
7575
registry-url: 'https://registry.npmjs.org'
7676
scope: '@actions'
@@ -101,4 +101,6 @@ jobs:
101101
102102
- name: Publish packages
103103
run: |
104-
lerna publish ${{ env.PKG_VERSION }} --yes --no-git-reset --no-git-tag-version
104+
lerna publish ${{ env.PKG_VERSION }} --yes --no-git-reset --no-git-tag-version
105+
env:
106+
NPM_CONFIG_PROVENANCE: 'true'

expressions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"watch": "tsc --build tsconfig.build.json --watch"
4545
},
4646
"engines": {
47-
"node": ">= 18"
47+
"node": ">= 20"
4848
},
4949
"files": [
5050
"dist/**/*"

languageserver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"yaml": "^2.1.3"
5858
},
5959
"engines": {
60-
"node": ">= 18"
60+
"node": ">= 20"
6161
},
6262
"files": [
6363
"dist/**/*",

languageservice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"yaml": "^2.1.1"
5656
},
5757
"engines": {
58-
"node": ">= 18"
58+
"node": ">= 20"
5959
},
6060
"files": [
6161
"dist/**/*"

package-lock.json

Lines changed: 29 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workflow-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"yaml": "^2.0.0-8"
5454
},
5555
"engines": {
56-
"node": ">= 18"
56+
"node": ">= 20"
5757
},
5858
"files": [
5959
"dist/**/*"

0 commit comments

Comments
 (0)