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
|
||||
|
||||
steps:
|
||||
- name: compile
|
||||
- name: compile (.NET)
|
||||
image: mcr.microsoft.com/dotnet/sdk:9.0-alpine
|
||||
environment:
|
||||
CI_WORKSPACE: "/drone/src"
|
||||
commands:
|
||||
- dotnet build
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
|
||||
- dotnet build ./vegasco-server.slnx
|
||||
|
||||
- name: compile (Angular)
|
||||
image: node:lts
|
||||
commands:
|
||||
- npm install -g pnpm
|
||||
- cd src/Vegasco-Web
|
||||
- pnpm install
|
||||
- pnpm build
|
||||
|
||||
- name: test
|
||||
image: quay.io/testcontainers/dind-drone-plugin
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user