Skip to content

Commit

Permalink
Merge pull request #30 from twentyideas/fix-publish-workflow
Browse files Browse the repository at this point in the history
Updates the npm auth token env var name
  • Loading branch information
hiddenist authored Sep 16, 2024
2 parents 9261c09 + e7a01a1 commit 50eeb56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: publish
on:
release:
types: [created]
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -17,4 +19,4 @@ jobs:
- run: yarn
- run: yarn npm publish
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 50eeb56

Please sign in to comment.