Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
coston committed Jan 19, 2020
1 parent 1e85425 commit a6ea690
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/release.yml
Expand Up @@ -8,17 +8,17 @@ jobs:
steps:
- uses: actions/checkout@v2
if: github.event.pull_request.merged​
- name: Release
run: |
git config user.name $GITHUB_ACTOR​
git config user.email gh-actions-${GITHUB_ACTOR}@github.com
git remote add gh-origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git​
yarn
yarn preversion
echo -e "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
yarn release
echo -e "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" > .npmrc
yarn publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Release
run: |
git config user.name $GITHUB_ACTOR​
git config user.email gh-actions-${GITHUB_ACTOR}@github.com
git remote add gh-origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git​
yarn
yarn preversion
echo -e "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
yarn release
echo -e "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" > .npmrc
yarn publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit a6ea690

Please sign in to comment.