Skip to content

Commit f911244

Browse files
authored
feat: add temp workflow (#1940)
* feat: add one-off release workflow for package publishing * chore: remove obsolete changeset for one-off release workflow * chore: add registry URL to one-off release workflow for npm * chore: update one-off release workflow to use changesets action for publishing * chore: add NODE_AUTH_TOKEN to one-off release workflow for npm authentication
1 parent d5614db commit f911244

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/one-off-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
uses: actions/setup-node@v4
2121
with:
2222
node-version: "22"
23+
registry-url: https://registry.npmjs.org
2324

2425
- name: Upgrade npm for OIDC support
2526
run: npm install -g npm@11.5.1
@@ -34,6 +35,10 @@ jobs:
3435
run: pnpm install
3536

3637
- name: Publish packages with next tag
37-
run: pnpm changeset publish --tag next
38+
uses: changesets/action@v1
39+
with:
40+
publish: pnpm changeset publish --tag next
3841
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3944
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)