Skip to content

Commit d5614db

Browse files
authored
feat: add one-off release workflow for package publishing (#1937)
* feat: add one-off release workflow for package publishing * chore: remove obsolete changeset for one-off release workflow
1 parent 18d0832 commit d5614db

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: One-off Release (bin migration)
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
id-token: write
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
ref: ${{ github.ref }}
18+
19+
- name: Use Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: "22"
23+
24+
- name: Upgrade npm for OIDC support
25+
run: npm install -g npm@11.5.1
26+
27+
- name: Install pnpm
28+
uses: pnpm/action-setup@v4
29+
with:
30+
version: 9.12.3
31+
run_install: false
32+
33+
- name: Install dependencies
34+
run: pnpm install
35+
36+
- name: Publish packages with next tag
37+
run: pnpm changeset publish --tag next
38+
env:
39+
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)