Skip to content

Commit

Permalink
fix: npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubMatejka committed Feb 27, 2020
1 parent cf72383 commit 44870d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Publish
run: npm version ${GITHUB_REF#"refs/tags/"} && npm publish
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
npm version ${GITHUB_REF#"refs/tags/"}
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 44870d0

Please sign in to comment.