Skip to content

Commit 6fc7990

Browse files
committed
use yarn v3 publish command, allow publish workflow manually
1 parent 9d5fb93 commit 6fc7990

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/npm_publish.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: npm publish
22

33
on:
4+
workflow_dispatch:
45
release:
56
types: [published]
67

@@ -26,6 +27,6 @@ jobs:
2627

2728
- name: Publish npm package to both places
2829
run: |
29-
yarn publish --access public
30+
yarn npm publish --access public
3031
env:
3132
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)