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
steps:
- name: Run Tests
- name: Build backend
image: nixos/nix
commands:
- cd backend
@ -12,6 +12,23 @@ steps:
trigger:
trigger:
event:
- push
- pull_request
- tag
---
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 {
name = "image-root";
paths = [
pkgs.bash
pkgs.coreutils
# pkgs.bash
# pkgs.coreutils
];
pathsToLink = [ "/bin" ];
};