Skip to content

Commit af9993a

Browse files
committed
Try editing npmrc
1 parent 39fb9be commit af9993a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/publish-previewer.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,8 @@ jobs:
3636
run: ./build-previewer.sh
3737

3838
- name: Publish to npm
39-
run: pnpm publish --access public --provenance --no-git-checks build/output
39+
working-directory: build/output
40+
run: |
41+
echo "//registry.npmjs.org/:token_exchange_url=https://id.npmjs.org/token-exchange/github" >> .npmrc
42+
echo "//registry.npmjs.org/:always-auth=true" >> .npmrc
43+
pnpm publish --access public --provenance --no-git-checks

0 commit comments

Comments
 (0)