Skip to content

Commit 74b98b9

Browse files
authored
Update release.yml
1 parent 8bd48ac commit 74b98b9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ jobs:
4141

4242
- name: 🛠 Build package
4343
run: pnpm build
44+
45+
- name: 🚀 Publish to GitHub Packages
46+
run: pnpm publish --no-git-checks --registry=https://npm.pkg.github.com/
47+
env:
48+
NODE_AUTH_TOKEN: ${{ secrets.GH_PUBLISH_PAT }}
4449

4550
- name: 🚀 Publish to npmjs
4651
run: pnpm publish --access public --no-git-checks --registry=https://registry.npmjs.org/
4752
env:
4853
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4954

50-
- name: 🚀 Publish to GitHub Packages
51-
run: pnpm publish --no-git-checks --registry=https://npm.pkg.github.com/
52-
env:
53-
NODE_AUTH_TOKEN: ${{ secrets.GH_PUBLISH_PAT }}
55+

0 commit comments

Comments
 (0)