Skip to content

Commit af676e2

Browse files
committed
fix(ci): upgrade to Node 24 for native npm OIDC support
Node 22 ships with npm 10.x which lacks native OIDC trusted publishing. Node 24 ships with npm 11.x+ which handles OIDC natively via npm publish --provenance. Also resolves the Node.js 20 actions deprecation warnings.
1 parent 5d7fc91 commit af676e2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-node@v4
2323
with:
24-
node-version: "22"
24+
node-version: "24"
2525
- uses: pnpm/action-setup@v4
2626
- run: pnpm install --frozen-lockfile
2727
- uses: actions/cache@v4
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions/checkout@v4
4242
- uses: actions/setup-node@v4
4343
with:
44-
node-version: "22"
44+
node-version: "24"
4545
- uses: pnpm/action-setup@v4
4646
- run: pnpm install --frozen-lockfile
4747
- uses: actions/cache@v4
@@ -83,7 +83,7 @@ jobs:
8383
persist-credentials: false
8484
- uses: actions/setup-node@v4
8585
with:
86-
node-version: "22"
86+
node-version: "24"
8787
# Do NOT set registry-url — it creates an .npmrc that overrides OIDC
8888
- uses: pnpm/action-setup@v4
8989
- run: pnpm install --frozen-lockfile

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"bugs": "https://github.com/ExaDev/SysProM/issues",
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/ExaDev/SysProM.git"
10+
"url": "git+https://github.com/ExaDev/SysProM.git"
1111
},
1212
"keywords": [
1313
"sysprom",

0 commit comments

Comments
 (0)