Add droneci
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Andre Henriques 2023-07-11 20:08:02 +01:00
parent 292a1f1a95
commit 253698b64d
2 changed files with 21 additions and 0 deletions

18
.drone.yml Normal file
View File

@ -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
...

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM docker.andr3h3nriqu3s.com/services/node:20
RUN pnpm i
RUN pnpm build