Skip to content

Commit

Permalink
ci(publish): fix command used to publish package
Browse files Browse the repository at this point in the history
This repo is configured for semantic-release so we can let that do the hard work for us
  • Loading branch information
ewanharris committed Jan 8, 2024
1 parent 5a456e2 commit 0951966
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Publish
on:
release:
types: [ created ]
on: workflow_dispatch

jobs:
publish:
Expand All @@ -27,5 +25,7 @@ jobs:
- name: Publish to npm
env:
GH_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run release

0 comments on commit 0951966

Please sign in to comment.