Skip to content

Commit 5bfd36a

Browse files
committed
chore(build): refuse to publish if no diff, if diff always publish app
This should resolve the case where app was not publishing, and peerDependencies were messed up Fixes #4708
1 parent a4220da commit 5bfd36a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
4141
npm whoami
4242
git diff --exit-code
43-
yarn lerna version --yes
43+
yarn lerna changed
44+
yarn lerna version --yes --force-publish @react-native-firebase/app
4445
yarn lerna publish from-package --yes
4546
env:
4647
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)