Skip to content

Merge pull request #255 from mia-ajuda/fix/get_id_from_null #269

Merge pull request #255 from mia-ajuda/fix/get_id_from_null

Merge pull request #255 from mia-ajuda/fix/get_id_from_null #269

Workflow file for this run

# name: expo publish
# on :
# push :
# branches : [ develop ]
# pull_request:
# types: [opened, synchronize]
# concurrency:
# group: publish-${{ github.ref }}
# cancel-in-progress: true
# jobs:
# build-deploy:
# runs-on: ubuntu-latest
# defaults:
# run:
# shell: bash
# working-directory: ./app
# steps:
# - name: πŸ— Setup repo
# uses: actions/checkout@v3
# - name: πŸ— Setup node
# uses: actions/setup-node@v3
# with:
# node-version: 14.x
# cache: yarn
# cache-dependency-path: app/yarn.lock
# - name: πŸ— Config files
# run: |
# echo "$GOOGLE_SERVICES" > google-services.json
# echo "$FIREBASE_CONFIG_DEV" > ./src/config/authmiaajuda-firebase-dev.json
# echo "$FIREBASE_CONFIG" > ./src/config/authmiaajuda-firebase.json
# echo "$ENV_VARIABLE" > .env
# env:
# GOOGLE_SERVICES: ${{ secrets.GOOGLE_SERVICES }}
# FIREBASE_CONFIG_DEV: ${{ secrets.FIREBASE_CONFIG_DEV }}
# FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }}
# ENV_VARIABLE: ${{ secrets.ENV_VARIABLE }}
# - name: πŸ— Setup Expo
# uses: expo/expo-github-action@v7
# with:
# expo-version: latest
# token: ${{ secrets.EXPO_TOKEN }}
# - name: πŸ“¦ Install dependencies
# run: yarn install --pure-lockfile --non-interactive
# - name: πŸ“¦ Run lint
# run: yarn lint
# - name: πŸ“¦ Publish staging
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }}
# run: expo publish --release-channel=staging --non-interactive
# - name: πŸ“¦ Publish preview
# if: ${{ github.event_name == 'pull_request' }}
# run: expo publish --release-channel=pr-${{ github.event.number }}
# - name: πŸ“¦ Comment preview
# if: ${{ github.event_name == 'pull_request' }}
# uses: expo/expo-github-action/preview-comment@v7
# with:
# project: app
# channel: pr-${{ github.event.number }}