Skip to content

Commit ca77c77

Browse files
committed
fix(ci): use Node 24 for npm OIDC trusted publishing
1 parent 30b881c commit ca77c77

1 file changed

Lines changed: 7 additions & 12 deletions

File tree

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,22 @@
1-
name: Release
2-
3-
# Consolidated workflow because npm Trusted Publishers only allows ONE
4-
# (repo, workflow, environment) tuple per package — so stable + channel
5-
# must share a single workflow file.
1+
name: Publish
62

73
on:
84
workflow_dispatch:
95
inputs:
106
mode:
11-
description: "Release mode"
7+
description: "Publish mode"
128
required: true
139
type: choice
1410
options:
15-
- stable
1611
- channel
12+
- stable
1713
channel:
18-
description: "dist-tag for channel mode (kebab-case, e.g. mcp/plugin/advisor). Reserved: latest/beta/alpha/next/rc/canary/dev. Ignored when mode=stable."
14+
description: "dist-tag (channel mode only, e.g. mcp/plugin/advisor)"
1915
required: false
2016
type: string
2117

22-
# Serialize stable globally; serialize channel per dist-tag name.
2318
concurrency:
24-
group: release-${{ inputs.mode }}-${{ inputs.channel }}
19+
group: publish-${{ inputs.mode }}-${{ inputs.channel }}
2520
cancel-in-progress: false
2621

2722
jobs:
@@ -40,7 +35,7 @@ jobs:
4035

4136
- uses: actions/setup-node@v4
4237
with:
43-
node-version: "22"
38+
node-version: "24"
4439
cache: pnpm
4540
registry-url: "https://registry.npmjs.org/"
4641

@@ -72,7 +67,7 @@ jobs:
7267

7368
- uses: actions/setup-node@v4
7469
with:
75-
node-version: "22"
70+
node-version: "24"
7671
cache: pnpm
7772
registry-url: "https://registry.npmjs.org/"
7873

0 commit comments

Comments
 (0)