From 4bc3b03807c1de8169c1db1a94f80ec6991039f4 Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Sun, 25 Sep 2022 22:04:31 +0100 Subject: [PATCH] feat(ci): create preview builds on CI --- .drone.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..04bd80b --- /dev/null +++ b/.drone.yml @@ -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]