mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-23 20:10:05 +08:00
chore: workflow config
This commit is contained in:
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -22,6 +22,10 @@ jobs:
|
||||
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
|
||||
- name: Publish Packages
|
||||
run: |
|
||||
yarn logout
|
||||
echo "@react-native-firebase:registry=http://registry.npmjs.org/" > ~/.npmrc
|
||||
echo "registry=http://registry.npmjs.org/" >> ~/.npmrc
|
||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||
npm whoami
|
||||
npx lerna publish --yes
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user