Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Commit 46d8661

Browse files
chore: restore version.yml workflow name for npm publish
Matching original workflow name, job name, environment, and permissions to ensure token access works correctly. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 59f2d12 commit 46d8661

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,35 @@
1-
name: Publish final deprecated version
1+
name: Version 🔖
22

33
on:
44
push:
55
branches:
66
- master
7-
paths:
8-
- '.github/workflows/publish-final.yml'
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
99

1010
jobs:
11-
publish:
12-
name: Publish base-mcp@1.0.14
11+
version:
12+
name: Release
1313
runs-on: ubuntu-latest
1414
environment: Production
1515
permissions:
16+
contents: write
17+
pull-requests: write
1618
id-token: write
1719
steps:
1820
- uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
1923

2024
- uses: actions/setup-node@v4
2125
with:
2226
node-version: 22
2327
registry-url: 'https://registry.npmjs.org'
2428

25-
- name: Set auth token
29+
- name: Enable Corepack
30+
run: corepack enable
31+
32+
- name: Set deployment token
2633
run: npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}"
2734

2835
- name: Publish

0 commit comments

Comments
 (0)