Compare commits
2 commits
b45fc9a025
...
4bc3b03807
Author | SHA1 | Date | |
---|---|---|---|
4bc3b03807 | |||
c913e77bdb |
3 changed files with 58 additions and 1 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]
|
8
app.json
8
app.json
|
@ -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
18
eas.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"cli": {
|
||||
"version": ">= 2.1.0"
|
||||
},
|
||||
"build": {
|
||||
"development": {
|
||||
"developmentClient": true,
|
||||
"distribution": "internal"
|
||||
},
|
||||
"preview": {
|
||||
"distribution": "internal"
|
||||
},
|
||||
"production": {}
|
||||
},
|
||||
"submit": {
|
||||
"production": {}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue