feature/ci-cd-pipeline #2

Merged
jarno merged 2 commits from feature/ci-cd-pipeline into main 2025-08-02 12:24:16 +00:00
Showing only changes of commit 260d40ad67 - Show all commits

42
.drone.yml Normal file
View File

@@ -0,0 +1,42 @@
kind: pipeline
type: docker
name: frontend-pipeline
platform:
os: linux
arch: amd64
steps:
- name: lint-frontend
image: node:20-alpine
working_dir: /workspace/frontend
commands:
- npm ci
- npm run lint
volumes:
- name: node_modules
path: /workspace/frontend/node_modules
- name: build-frontend
image: node:20-alpine
working_dir: /workspace/frontend
commands:
- npm ci
- npm run build
volumes:
- name: node_modules
path: /workspace/frontend/node_modules
depends_on:
- lint-frontend
volumes:
- name: node_modules
temp: {}
trigger:
branch:
- main
- develop
event:
- push
- pull_request