Drone for frontend
continuous-integration/drone/push Build was killed Details

This commit is contained in:
qvalentin 2023-04-09 12:22:44 +02:00
parent 8ac37f33f3
commit 3bf607ea9a
2 changed files with 22 additions and 5 deletions

View File

@ -3,7 +3,7 @@ type: docker
name: Build backend name: Build backend
steps: steps:
- name: Run Tests - name: Build backend
image: nixos/nix image: nixos/nix
commands: commands:
- cd backend - cd backend
@ -12,6 +12,23 @@ steps:
trigger: trigger:
trigger: trigger:
event: event:
- push - tag
- pull_request
---
kind: pipeline
type: docker
name: Build frontend
steps:
- name: Build frontend
image: yarn:apline
commands:
- cd frontend
- yarn install
- yarn build
trigger:
trigger:
event:
- tag
- push

View File

@ -19,8 +19,8 @@ pkgs.dockerTools.buildImage {
copyToRoot = pkgs.buildEnv { copyToRoot = pkgs.buildEnv {
name = "image-root"; name = "image-root";
paths = [ paths = [
pkgs.bash # pkgs.bash
pkgs.coreutils # pkgs.coreutils
]; ];
pathsToLink = [ "/bin" ]; pathsToLink = [ "/bin" ];
}; };