add webpack step to .drone.yml test-build pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2021-02-23 15:56:27 +01:00
parent 2f4a9a227d
commit a7b7bb60ef
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -25,6 +25,14 @@ steps:
commands:
- dotnet restore
- name: webpack
pull: always
image: mcr.microsoft.com/dotnet/core/sdk:3.1-alpine
depends_on: [clone]
commands:
- apk add --no-cache make git nodejs npm
- make webpack
- name: debug
pull: always
image: mcr.microsoft.com/dotnet/core/sdk:3.1-alpine
@ -41,7 +49,7 @@ steps:
volumes:
- name: pkgcache
path: /root/.nuget/packages
depends_on: [restore]
depends_on: [restore, webpack]
commands:
- dotnet publish -c Release -o out