This commit is contained in:
bignutty
2025-09-16 18:10:22 +02:00
parent 29789de5a5
commit 6a11dd3887
45 changed files with 5076 additions and 0 deletions

21
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,21 @@
image: node:24-alpine
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_FORCE_HTTPS: "true"
before_script:
- npm ci
pages:
script:
# Add brotli for compression
- apk add --no-cache brotli
# Build app
- npm run build
# Optimize output files via gzip & brotli
- find dist -type f -regex '.*\.\(htm\|html\|xml\|txt\|text\|js\|css\|svg\|woff2\)$' -exec gzip -f -k {} \;
- find dist -type f -regex '.*\.\(htm\|html\|xml\|txt\|text\|js\|css\|svg\|woff2\)$' -exec brotli -f -k {} \;
pages:
publish: dist
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH