Skip to content

Commit

Permalink
fix(release): remove npm config and git config as well
Browse files Browse the repository at this point in the history
semantic release should be able to handle all of that based on integration
in other repos
  • Loading branch information
mikehardy committed Dec 8, 2021
1 parent 930bc03 commit 8139e88
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,8 @@ jobs:
retry_wait_seconds: 60
max_attempts: 3
command: yarn --no-audit --prefer-offline
- name: GIT Setup
run: |
git config --global user.name '@Salakar'
git config --global user.email '[email protected]'
git remote set-url origin [email protected]:$GITHUB_REPOSITORY
- name: Publish Packages
run: |
yarn logout
echo "@invertase:registry=http://registry.npmjs.org/" > ~/.npmrc
echo "registry=http://registry.npmjs.org/" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm whoami
git diff --exit-code
yarn semantic-release -d
run: yarn semantic-release -d
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down

0 comments on commit 8139e88

Please sign in to comment.