Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
baileytincher authored Nov 29, 2020
1 parent 9caa0ea commit ed30f9a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
ref: ${{ github.event.release.target_commitish }}
- uses: actions/setup-node@v1
with:
node-version: 12
Expand All @@ -37,6 +39,6 @@ jobs:
env:
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: yarn build
- run: yarn publish --tag ${{ github.event.release.target_commitish }}
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit ed30f9a

Please sign in to comment.