Build React Native App #12
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: Build React Native App | |
on: | |
push: | |
branches: | |
- devops/build-dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: npm install | |
- name: Build app | |
env: | |
EAS_USERNAME: ${{ secrets.EAS_USERNAME }} | |
EAS_PASSWORD: ${{ secrets.EAS_PASSWORD }} | |
run: eas build -p android && eas build -p ios && eas build -p web |