Skip to content

Commit

Permalink
use yarn v3 publish command, allow publish workflow manually (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend authored Jan 8, 2025
1 parent 9d5fb93 commit f934f25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/npm_publish.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: npm publish

on:
workflow_dispatch:
release:
types: [published]

Expand All @@ -26,6 +27,6 @@ jobs:

- name: Publish npm package to both places
run: |
yarn publish --access public
yarn npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit f934f25

Please sign in to comment.