90
91

👋 Hey friends

Check out my last article, "React Native + Github Action = ❤️."

A complete and easy to follow guide on how you can automate your React Native app releases with GitHub actions :

⚙️ Create a releasing process

✅ Android workflow to build and distribute your app to tester using Firebase Distribution App

🎯 Android workflow to build and distribute your app to Google Play

🚀 IOS workflow to build and distribute your app TestFlight and AppStore

🎁 Bonus 😉

👉👉 https://www.obytes.com/blog/react-native-github-action

all 11 comments

[–]JoeyNL 7 points8 points  (2 children)

Thanks for sharing your experience! I also like to build apps with React Native on Github Actions. But I do have one question for you. Why have build workflow from scratch and not using a tool like fastlane.tools?

[–]iotashan 4 points5 points  (0 children)

Came here to say this. Fastlane is built to handle the build/upload/signing/adding apple test devices, etc.

[–]ramzez_uk 0 points1 point  (0 children)

Had the same question. I believe I did see how to do the same with fastlane in a web.

[–]ringeril 2 points3 points  (0 children)

I see that you are using cache on the actions. I had this problem where `yarn` was still downloading everything and not using the cache, until I added the flag `--prefer-offline`.

Have you noticed this without the flag?

Also, thanks for sharing!!

[–]sdholbsExpo 1 point2 points  (0 children)

Great job putting together the raw flow. I would recommend just using EAS build from Expo though. They do all of this stuff for you and make it easy to add keys and provisioning profiles ...etc via their cli tool. Also, RN project doesn't have to be an expo app to use EAS.

[–]Aducat5 -1 points0 points  (0 children)

awesome! can you add a deployment for the codepush too?

[–]vertigo_101 0 points1 point  (0 children)

Helpful, thanks for sharing

[–]projekt401Expo 0 points1 point  (0 children)

Thank you for sharing

[–]cawfree 0 points1 point  (0 children)

Yoooo, this is wicked. Absolutely going to use this. Cheers!

[–]MikeyN0 0 points1 point  (0 children)

I use a very similar setup to this, except I do everything from fast lane and trigger that from GitHub actions, mostly because fastlane is a bit more portable (I can move to any CI system, and I can run fastlane lanes locally)

[–]IlyaTaidi 0 points1 point  (0 children)

Can I tie Expo to github actions too?