Skip to content

Commit 1c35fbe

Browse files
committed
fix: match markdown-to-jsx release workflow pattern for trusted publishing
1 parent 971d8c5 commit 1c35fbe

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ jobs:
2626
cache: 'pnpm'
2727
registry-url: 'https://registry.npmjs.org'
2828

29-
- name: Update npm for trusted publishing
29+
- name: Update npm
3030
run: npm install -g npm@latest
3131

3232
- name: Install dependencies
3333
run: pnpm install --frozen-lockfile
3434

3535
- name: Create Release PR or Publish
36-
uses: changesets/action@main
36+
id: changesets
37+
uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3740
with:
41+
createGithubReleases: true
3842
publish: pnpm changeset publish
3943
title: 'chore: version packages'
4044
commit: 'chore: version packages'
41-
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
NPM_TOKEN: ''
44-
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)