Skip to content

Commit f742427

Browse files
committed
ci(publish): fix command used to publish package
This repo is configured for semantic-release so we can let that do the hard work for us
1 parent 02feed8 commit f742427

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Publish
2-
on:
3-
release:
4-
types: [ created ]
2+
on: workflow_dispatch
53

64
jobs:
75
publish:
@@ -27,5 +25,7 @@ jobs:
2725
- name: Publish to npm
2826
env:
2927
GH_TOKEN: ${{ github.token }}
28+
GITHUB_TOKEN: ${{ github.token }}
3029
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31-
run: npm publish
30+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
31+
run: npm run release

0 commit comments

Comments
 (0)