Skip to content

Commit 983238d

Browse files
committed
Setup trusted publishing
1 parent fbc9844 commit 983238d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,15 @@ jobs:
4040
- name: Setup pnpm
4141
uses: pnpm/action-setup@v4
4242

43-
- name: Setup Node.js 22
44-
uses: actions/setup-node@v6
43+
- uses: actions/setup-node@v6
4544
with:
46-
node-version: 22
45+
node-version: '24'
4746
registry-url: 'https://registry.npmjs.org'
4847

48+
# Ensure npm 11.5.1 or later is installed
49+
- name: Update npm
50+
run: npm install -g npm@latest
51+
4952
- name: Install Dependencies
5053
run: pnpm i
5154

@@ -64,12 +67,9 @@ jobs:
6467
with:
6568
version: pnpm changeset version
6669
publish: pnpm changeset publish
67-
createGithubReleases: true
68-
setupGitUser: false
6970
env:
7071
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
71-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
72-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
72+
NPM_TOKEN: "" # Workaround for https://github.com/changesets/action/pull/545
7373

7474
- name: Deploy to Vercel
7575
if: steps.changesets.outputs.published == 'true'

0 commit comments

Comments
 (0)