Started CI drone setup with build and lint steps

This commit is contained in:
2022-11-28 20:25:01 +01:00
parent 5c0a6a1294
commit b8d4ab28ee

48
.drone.yml Normal file
View File

@@ -0,0 +1,48 @@
---
kind: pipeline
type: docker
name: Lint and build project
platform:
os: linux
arch: amd64
steps:
- name: Build project
image: node:18
commands:
- yarn
- yarn build
- name: Lint project
image: node:18
commands:
- yarn
- yarn lint
---
kind: pipeline
type: docker
name: Compile docker image
platform:
os: linux
arch: amd64
steps:
- name: Build
image: node:18
commands:
- yarn
- yarn build
depends_on:
- Lint and build project
trigger:
branch:
- main
event:
exclude:
- pull_request