Skip to content

Commit 275a148

Browse files
authored
Merge pull request #51 from hypercerts-org/fix/publish_package
Create npmrc in ci script in root
2 parents 4833b92 + 5f7f70b commit 275a148

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-beta.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545

4646
- name: Create .npmrc
47-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
47+
run: |
48+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
49+
echo "@hypercerts-org:registry=https://registry.npmjs.org/" >> .npmrc
4850
4951
- name: Publish beta packages
5052
run: pnpm changeset publish

0 commit comments

Comments
 (0)