fix(crashlytics, ios): init w/componentsToRegister vs configureWithApp #1366
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
publish_npm: | |
if: "(github.repository == 'invertase/react-native-firebase') && (github.event_name == 'workflow_dispatch')" | |
name: 'NPM' | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: 'main' | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Yarn Install | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 15 | |
retry_wait_seconds: 60 | |
max_attempts: 3 | |
command: yarn && yarn lerna:prepare | |
- 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 | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Publish Packages | |
run: | | |
yarn npm logout | |
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 | |
git diff --exit-code | |
yarn lerna changed | |
yarn lerna version --yes --force-publish=* | |
yarn lerna publish from-package --yes | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |