diff --git a/.drone.yml b/.drone.yml index e9b616e..1ecd05c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,9 @@ steps: - name: run tests image: mcr.microsoft.com/dotnet/sdk:9.0 commands: - - dotnet test + - apk add --no-cache nodejs npm + - npm install -g yarn + - dotnet test --- kind: pipeline type: docker diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 96ba660..030cb95 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -5,7 +5,6 @@ WORKDIR /build COPY ../../. . RUN apk add --no-cache nodejs npm RUN npm install -g yarn -RUN yarn --version RUN dotnet publish -c Release -o /build/publish src/Api/Api.csproj ######################################################################### diff --git a/src/Web/Dockerfile b/src/Web/Dockerfile index eb86810..af2649f 100644 --- a/src/Web/Dockerfile +++ b/src/Web/Dockerfile @@ -5,7 +5,6 @@ WORKDIR /build COPY ../../. . RUN apk add --no-cache nodejs npm RUN npm install -g yarn -RUN yarn --version RUN dotnet publish -c Release -o /build/publish src/Web/Web.csproj #########################################################################