Skip to content

Commit ca17b17

Browse files
committed
Update npm publishing
1 parent 5dc238a commit ca17b17

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
with:
3333
node-version: 20
3434
cache: "pnpm"
35+
registry-url: 'https://registry.npmjs.org'
3536

3637
- name: Install dependencies
3738
run: pnpm install --frozen-lockfile
@@ -46,6 +47,7 @@ jobs:
4647
title: "chore: version packages"
4748
env:
4849
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4951

5052
- name: Create GitHub Releases
5153
if: steps.changesets.outputs.published == 'true'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"changeset": "changeset",
1212
"validate-changesets": "node .changeset/validate-changesets.js",
1313
"version-packages": "changeset version && node .changeset/reorganize-changelogs.js",
14-
"release": "pnpm build && changeset publish",
14+
"release": "pnpm build && changeset publish --provenance",
1515
"prepare": "husky"
1616
},
1717
"devDependencies": {

0 commit comments

Comments
 (0)