Skip to content

Commit 73e7df8

Browse files
committed
Updating Node.js setup to include registry and scope
1 parent 961359e commit 73e7df8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish-mcp.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ jobs:
1818
- name: Setup pnpm
1919
uses: pnpm/action-setup@v4
2020

21-
- name: Install Node.js
21+
- name: Install Node.js (sets registry + auth)
2222
uses: actions/setup-node@v4
2323
with:
2424
node-version: 20
2525
cache: 'pnpm'
26-
26+
registry-url: 'https://registry.npmjs.org'
27+
scope: '@railway'
28+
2729
- name: Setup Go (for mcp-publisher build)
2830
uses: actions/setup-go@v5
2931
with:
@@ -36,7 +38,7 @@ jobs:
3638
run: pnpm run build
3739

3840
- name: Publish to npm
39-
run: npm publish
41+
run: npm publish --provenance
4042
env:
4143
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4244

0 commit comments

Comments
 (0)