25 lines
493 B
YAML
25 lines
493 B
YAML
when:
|
|
- event: [push, pull_request, manual, deployment, tag, release, pull_request]
|
|
|
|
steps:
|
|
- name: Install dependencies
|
|
image: node:latest
|
|
commands:
|
|
- npm i
|
|
|
|
- name: Build web app
|
|
image: node:latest
|
|
commands:
|
|
- npm run build
|
|
|
|
- name: Ionic sync
|
|
image: node:latest
|
|
commands:
|
|
- npx cap sync
|
|
|
|
- name: Build Android app
|
|
image: mingc/android-build-box
|
|
commands:
|
|
- cd android
|
|
- bash -c "chmod +x gradlew; ./gradlew bundleRelease"
|