Add CI/CD to UI #28

Merged
0950726 merged 5 commits from feat/ci-cd into dev 2025-12-03 15:12:19 +00:00
Showing only changes of commit ea85a05f27 - Show all commits

View File

@@ -14,6 +14,11 @@ variables:
default: default:
image: docker.io/library/node:${NODE_VERSION}-${BASE_LAYER} image: docker.io/library/node:${NODE_VERSION}-${BASE_LAYER}
cache:
key: "${CI_COMMIT_REF_SLUG}"
paths:
- node_modules/
policy: pull-push
# --------- INSTALLING --------- # # --------- INSTALLING --------- #
install: install:
@@ -22,10 +27,16 @@ install:
- install - install
script: script:
- npm ci - npm ci
artifacts:
paths:
- node_modules/
expire_in: 1h
# ---------- LINTING ---------- # # ---------- LINTING ---------- #
lint: lint:
stage: lint stage: lint
needs:
- install
tags: tags:
- lint - lint
script: script:
@@ -34,6 +45,8 @@ lint:
# ---------- TESTING ---------- # # ---------- TESTING ---------- #
test: test:
stage: test stage: test
needs:
- install
tags: tags:
- test - test
script: script: