build: unittest.yml pipeline #24
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 | |
workflow_dispatch: | |
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: Install expo-cli | |
run: npm install -g eas-cli | |
- name: Build app | |
env: | |
EAS_USERNAME: ${{ secrets.EAS_USERNAME }} | |
EAS_PASSWORD: ${{ secrets.EAS_PASSWORD }} | |
run: npx eas build -p android --non-interactive |