Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yvesgurcan committed Jan 24, 2020
1 parent c265f95 commit 4899bb2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
publish:
name: NPM
name: Create release
if: github.event.pull_request.merged
runs-on: ubuntu-latest
steps:
Expand All @@ -19,11 +19,7 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- name: Set up NPM auth
run: npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
- name: Publish to NPM
run: npm publish
- name: Tag
- name: Create GitHub release
uses: K-Phoen/semver-release-action@master
with:
release_branch: master
Expand Down

0 comments on commit 4899bb2

Please sign in to comment.