|
|
|
@ -11,7 +11,7 @@ COPY . . |
|
|
|
|
|
|
|
# Build Frontend |
|
|
|
RUN cp -a /tmp/node_modules src/Squidex/ \ |
|
|
|
&& cd /src/Squidex \ |
|
|
|
&& cd src/Squidex \ |
|
|
|
&& npm run test:coverage \ |
|
|
|
&& npm run build |
|
|
|
|
|
|
|
@ -20,7 +20,8 @@ RUN dotnet restore \ |
|
|
|
&& dotnet test tests/Squidex.Infrastructure.Tests/Squidex.Infrastructure.Tests.csproj \ |
|
|
|
&& dotnet test tests/Squidex.Domain.Apps.Core.Tests/Squidex.Domain.Apps.Core.Tests.csproj \ |
|
|
|
&& dotnet test tests/Squidex.Domain.Apps.Entities.Tests/Squidex.Domain.Apps.Entities.Tests.csproj \ |
|
|
|
&& dotnet test tests/Squidex.Domain.Users.Tests/Squidex.Domain.Users.Tests.csproj |
|
|
|
&& dotnet test tests/Squidex.Domain.Users.Tests/Squidex.Domain.Users.Tests.csproj \ |
|
|
|
&& dotnet test tests/Squidex.Tests/Squidex.Tests.csproj |
|
|
|
|
|
|
|
# Publish |
|
|
|
RUN dotnet publish src/Squidex/Squidex.csproj --output /out/ --configuration Release |