Skip to content

Commit 5b4afee

Browse files
committed
fix: satisfy npm trusted publishing requirements
Run the release workflow on a supported Node.js version and align package repository metadata with npm's GitHub trusted publishing checks. Update the release guide to document the exact repository URL and runtime expectations needed for CI publishes.
1 parent 0204ebd commit 5b4afee

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020

2121
steps:
2222
- name: Check out repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v6
2424

2525
- name: Set up Node.js
26-
uses: actions/setup-node@v4
26+
uses: actions/setup-node@v6
2727
with:
28-
node-version: 20
28+
node-version: 24
2929
cache: npm
3030
registry-url: https://registry.npmjs.org
3131

docs/setup/RELEASING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Critical npm-side details:
2929
- Workflow filename: `release.yml`
3030
- If you use an optional environment in npm's Trusted Publisher settings, it must exactly match the GitHub Actions environment name used by the workflow.
3131
- `package.json` must include a `repository.url` that exactly matches `https://github.com/NeuralNomadsAI/NomadWorks`.
32+
- GitHub Actions must run on a supported Node.js version for npm Trusted Publishing. This workflow uses Node.js `24`.
3233

3334
No `NPM_TOKEN` repository secret is required once Trusted Publishing is configured correctly.
3435

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"repository": {
55
"type": "git",
6-
"url": "git+https://github.com/NeuralNomadsAI/NomadWorks.git"
6+
"url": "https://github.com/NeuralNomadsAI/NomadWorks"
77
},
88
"type": "module",
99
"main": "dist/index.js",

0 commit comments

Comments
 (0)