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 8f66817 commit 0810232
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn install && yarn list --installed
run: yarn install
- name: Publish
run: yarn publish --new-version ${GITHUB_REF#"refs/tags/"} --no-git-tag-version
run: npm publish --tag ${GITHUB_REF#"refs/tags/"}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 0810232

Please sign in to comment.