From a49d463a830100753551a6ba70ec96d01482ac40 Mon Sep 17 00:00:00 2001 From: katR Date: Sun, 27 Sep 2026 20:52:52 +0530 Subject: [PATCH] Add LICENSE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MIT — the license already claimed in the README, just missing from disk. --- .gitlab-ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..773b4a7 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,38 @@ +stages: + - check + - build + +variables: + NEXT_TELEMETRY_DISABLED: "1" + +default: + image: node:22-alpine + cache: + key: + files: + - package-lock.json + paths: + - node_modules/ + +lint: + stage: check + script: + - npm ci + - npm run lint + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + allow_failure: true + +build: + stage: build + script: + - npm ci + - npm run build + artifacts: + name: "kattoolbox" + paths: + - .next/ + - out/ + expire_in: 7 days + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH