From f51100c7bfd86a7b0af4ba842c1b9b02f27116e1 Mon Sep 17 00:00:00 2001 From: Pachi 27 <74001300+pch27@users.noreply.github.com> Date: Mon, 31 Mar 2025 22:06:52 +0200 Subject: [PATCH] ci-cd --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..358582c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +stages: + - build + +variables: + NODE_ENV: production + +default: + image: node:lts-slim + cache: + key: npm-cache + paths: + - node_modules/ + +build_npm: + stage: build + script: + - npm ci + - npm run build + artifacts: + paths: + - dist/ + expire_in: 1 hour \ No newline at end of file -- GitLab