Skip to content

Commit

Permalink
chore: enable release and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sergioramos committed Jun 13, 2020
1 parent 3673f8f commit 229c947
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ jobs:
uses: actions/checkout@v2
- name: Get branch
uses: rlespinasse/github-slug-action@1.1.0
# - name: Release
# uses: ridedott/release-me-action@master
# if: ${{ env.GITHUB_REF_SLUG == 'master' }}
# with:
# node-module: true
# env:
# GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
- name: Release
uses: ridedott/release-me-action@master
if: ${{ env.GITHUB_REF_SLUG == 'master' }}
with:
node-module: true
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: yarn install --immutable
env:
YARN_CHECKSUM_BEHAVIOR: update
# - name: Publish
# run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
- name: Publish
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NODE_AUTH_TOKEN }}

0 comments on commit 229c947

Please sign in to comment.