Skip to content

Commit

Permalink
fix: release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cgawron committed Aug 23, 2020
1 parent 0c1e573 commit 87f8d81
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,11 @@ jobs:
with:
node-version: 12.x

- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish
run: npm config set '//registry.npmjs.org/:_authToken=' "${NODE_AUTH_TOKEN}" && npm publish --access publish
- name: Release
run: npx semantic-release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 87f8d81

Please sign in to comment.