Skip to content

Commit

Permalink
Merge pull request #5 from energiency/1-add-semantic-release
Browse files Browse the repository at this point in the history
Switch NPM_TOKEN to NODE_AUTH_TOKEN
  • Loading branch information
TheoLaperrouse authored May 16, 2024
2 parents a3235b2 + 1410f1b commit 2a80a2d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish to npm registry
name: Publish on NPM
on:
push:
branches:
Expand All @@ -25,5 +25,6 @@ jobs:
- name: Publish package
if: success()
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn semantic-release
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn release

0 comments on commit 2a80a2d

Please sign in to comment.