Compare commits

...

2 commits

Author SHA1 Message Date
4bc3b03807
feat(ci): create preview builds on CI
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-25 22:04:31 +01:00
c913e77bdb
chore: add EAS metadata 2022-09-25 21:51:02 +01:00
3 changed files with 58 additions and 1 deletions

33
.drone.yml Normal file
View 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]

View file

@ -24,10 +24,16 @@
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
}
},
"package": "dev.ashhhleyyy.comet"
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "04e2b470-3966-49a0-b8ee-59881448225c"
}
}
}
}

18
eas.json Normal file
View file

@ -0,0 +1,18 @@
{
"cli": {
"version": ">= 2.1.0"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {}
},
"submit": {
"production": {}
}
}