Skip to content

Commit

Permalink
fix: further cleanup of npmjs registry / token publish interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Feb 11, 2025
1 parent e7c7457 commit 9f2a244
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,11 @@ jobs:
git config --global user.email '[email protected]'
- name: Publish Packages
run: |
echo "@react-native-firebase:registry=https://registry.npmjs.org/" > ~/.npmrc
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm whoami
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
git diff --exit-code
yarn lerna changed
yarn lerna version --yes --force-publish=*
yarn lerna publish from-package --yes
env:
NPM_TOKEN: ${{ secrets.MKEHARDY_NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.MIKEHARDY_NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit 9f2a244

Please sign in to comment.