Add build step for Angular
Some checks failed
continuous-integration/drone/push Build encountered an error
Some checks failed
continuous-integration/drone/push Build encountered an error
This commit is contained in:
17
.drone.yml
17
.drone.yml
@@ -10,16 +10,21 @@ trigger:
|
|||||||
- custom
|
- custom
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: compile
|
- name: compile (.NET)
|
||||||
image: mcr.microsoft.com/dotnet/sdk:9.0-alpine
|
image: mcr.microsoft.com/dotnet/sdk:9.0-alpine
|
||||||
environment:
|
environment:
|
||||||
CI_WORKSPACE: "/drone/src"
|
CI_WORKSPACE: "/drone/src"
|
||||||
commands:
|
commands:
|
||||||
- dotnet build
|
- dotnet build ./vegasco-server.slnx
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
- name: compile (Angular)
|
||||||
path: /var/run
|
image: node:lts
|
||||||
|
commands:
|
||||||
|
- npm install -g pnpm
|
||||||
|
- cd src/Vegasco-Web
|
||||||
|
- pnpm install
|
||||||
|
- pnpm build
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: quay.io/testcontainers/dind-drone-plugin
|
image: quay.io/testcontainers/dind-drone-plugin
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user