add cicd
Some checks failed
Release VPS agent / Build and publish Linux agent (push) Failing after 22s
Deploy control plane / Build, push, and deploy production (push) Failing after 22s

This commit is contained in:
2026-09-23 22:46:01 +03:00
parent 0fc35589e6
commit a10c2de01d
10 changed files with 743 additions and 3 deletions

View File

@@ -6,8 +6,12 @@ RUN --mount=type=cache,target=/root/.npm npm ci
COPY . .
RUN npm run build
FROM build AS test
RUN npm run lint
RUN npm run typecheck
RUN npm test -- --run
FROM nginxinc/nginx-unprivileged:1.27-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build --chown=101:101 /app/dist /usr/share/nginx/html
EXPOSE 8080