Skip to content

Commit b78a96e

Browse files
authored
Update publish.yml
1 parent 6d3ad58 commit b78a96e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
run: yarn install
1616
- name: Build
1717
run: yarn run build
18-
- run: npm publish
18+
- name: Create .npmrc
19+
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > ~/.yarnrc
1920
env:
2021
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
- name: Publish
23+
run: yarn publish
24+

0 commit comments

Comments
 (0)