From 253698b64d40352f9762c38577fb12221daf34cc Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Tue, 11 Jul 2023 20:08:02 +0100 Subject: [PATCH] Add droneci --- .drone.yml | 18 ++++++++++++++++++ Dockerfile | 3 +++ 2 files changed, 21 insertions(+) create mode 100644 .drone.yml create mode 100644 Dockerfile diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a6dbed7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,18 @@ +--- +kind: pipeline +type: exec +name: Build and deploy + +steps: + - name: Build + commands: + - nvm use 20 + - pnpm build + - ls + +trigger: + branch: + - main +node: + lights: builder +... diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5c9a60d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM docker.andr3h3nriqu3s.com/services/node:20 +RUN pnpm i +RUN pnpm build