Skip to content

Commit b5564b6

Browse files
committed
tweak workflow
1 parent d2c1995 commit b5564b6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/publish-mcp.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,32 @@ jobs:
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v4
17-
18-
- name: Setup pnpm
19-
uses: pnpm/action-setup@v4
2017

2118
- name: Install Node.js
2219
uses: actions/setup-node@v4
2320
with:
2421
node-version: 20
2522
cache: 'pnpm'
2623

24+
- name: Setup pnpm
25+
uses: pnpm/action-setup@v4
26+
27+
- name: Setup Go (for mcp-publisher build)
28+
uses: actions/setup-go@v5
29+
with:
30+
go-version: '1.22'
31+
2732
- name: Install dependencies
2833
run: pnpm install
2934

3035
- name: Build package
3136
run: pnpm run build
3237

3338
- name: Publish to npm
34-
run: npm publish --provenance
39+
run: npm publish
3540
env:
3641
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3742

38-
- name: Setup Go (for mcp-publisher build)
39-
uses: actions/setup-go@v5
40-
with:
41-
go-version: '1.22'
42-
4343
- name: Install MCP Publisher
4444
run: |
4545
# Build publisher from source (requires Go)

0 commit comments

Comments
 (0)