kattoolbox/.gitlab-ci.yml
katR 561c5aab76 Add LICENSE
MIT — the license already claimed in the README, just missing from disk.
2026-09-27 20:52:52 +05:30

38 lines
564 B
YAML

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