2022-09-25 21:04:31 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: Build
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
2022-09-25 21:27:13 +00:00
|
|
|
# - name: Install dependencies
|
|
|
|
# image: node:16-alpine
|
|
|
|
# commands:
|
|
|
|
# - yarn install
|
2022-09-25 21:04:31 +00:00
|
|
|
# TODO: setup linting
|
|
|
|
# - name: Check formatting
|
|
|
|
# image: node-pnpm:16-alpine
|
|
|
|
# commands:
|
|
|
|
# - pnpm format:check
|
|
|
|
# - name: Lint code
|
|
|
|
# image: node-pnpm:16-alpine
|
|
|
|
# commands:
|
|
|
|
# - pnpm lint
|
|
|
|
- name: Build app
|
|
|
|
image: node:16-alpine
|
|
|
|
commands:
|
2022-09-25 21:28:12 +00:00
|
|
|
- apk add git ca-certificates
|
2022-09-25 21:19:06 +00:00
|
|
|
- npx eas-cli build --platform android --non-interactive --profile preview
|
2022-09-25 21:04:31 +00:00
|
|
|
environment:
|
|
|
|
EXPO_TOKEN:
|
|
|
|
from_secret: EAS_TOKEN
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event: [push]
|
|
|
|
branch: [main]
|