comet/.drone.yml

35 lines
646 B
YAML
Raw Normal View History

2022-09-25 21:04:31 +00:00
kind: pipeline
type: docker
name: Build
platform:
os: linux
arch: arm64
steps:
- name: Install dependencies
image: node:16-alpine
commands:
- yarn install
# 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:26:15 +00:00
- apk install 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]