Skip to content

docs: add known issues section #1394

docs: add known issues section

docs: add known issues section #1394

Workflow file for this run

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 }}