Skip to content

Remove warning when redirecting to internal link #1036

Remove warning when redirecting to internal link

Remove warning when redirecting to internal link #1036

Workflow file for this run

name: mobile-build

Check failure on line 1 in .github/workflows/mobile-build.yml

View workflow run for this annotation

GitHub Actions / mobile-build

Invalid workflow file

The workflow is not valid. .github/workflows/mobile-build.yml: Unexpected tag '!github.event.pull_request.draft'
on:
pull_request:
# We only want to run a build if things that could've affected mobile changed.
paths:
- yarn.lock
- package.json
- apps/mobile/**/*
- packages/shared/**/*
jobs:
build-android:
if: !github.event.pull_request.draft
runs-on: ubuntu-latest
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v3
- name: πŸ— Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.5.0
cache: yarn
- name: πŸ— Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: πŸ“¦ Install dependencies
run: yarn install
- name: πŸš€ Build app
run: |
cd apps/mobile;
eas build -p android -e production --non-interactive
build-ios:
if: !github.event.pull_request.draft
runs-on: ubuntu-latest
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v3
- name: πŸ— Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.5.0
cache: yarn
- name: πŸ— Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: πŸ“¦ Install dependencies
run: yarn install
- name: πŸš€ Build app
run: |
cd apps/mobile;
eas build -p ios -e production --non-interactive