feat(ci): create preview builds on CI
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
c913e77bdb
commit
4bc3b03807
1 changed files with 33 additions and 0 deletions
33
.drone.yml
Normal file
33
.drone.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
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:
|
||||
- npx eas-cli build --platform android --non-interative --profile preview
|
||||
environment:
|
||||
EXPO_TOKEN:
|
||||
from_secret: EAS_TOKEN
|
||||
|
||||
trigger:
|
||||
event: [push]
|
||||
branch: [main]
|
Loading…
Reference in a new issue