Skip to content

Commit ef47836

Browse files
committed
Try creating .npmrc by hand
1 parent b47fbc9 commit ef47836

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,13 @@ jobs:
3131
pnpm -s link:src
3232
pnpm -s build-all
3333
34-
- name: Publish to npm
34+
- name: Temp fix to publish
35+
run: |
36+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
37+
echo "always-auth=true" >> ~/.npmrc
38+
39+
- name: Publish to npmjs
40+
run: pnpm publish --access public --no-git-checks
3541
env:
3642
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
37-
run: npm publish --access public
3843

0 commit comments

Comments
 (0)