Compare commits

...

11 commits

Author SHA1 Message Date
Daniel Heße
a69b81e3d7 Added CI/CD workflow
Some checks failed
CI / ci (push) Has been cancelled
2026-08-21 13:12:53 +02:00
Dada1981
b0c6f8d009
Merge pull request #20 from Dada1981/codex/download-library
feat: add downloadable publication library
2026-08-18 16:07:55 +02:00
Dada1981
09c4b749f2
Merge pull request #19 from Dada1981/codex/author-card-feature-suite
feat: add Discord contact links
2026-08-16 18:59:20 +02:00
Dada1981
8d3980d654
Merge pull request #18 from Dada1981/codex/author-card-feature-suite
feat: expand author profiles and book details
2026-08-15 20:19:36 +02:00
Dada1981
76957c8284
Merge pull request #17 from Dada1981/codex/admin-quality-hardening
Codex/admin quality hardening
2026-08-15 09:59:58 +02:00
Dada1981
67570d9b1f
Merge pull request #16 from Dada1981/codex/isolate-and-refactor-portfolios
refactor portfolios and isolate public profiles
2026-08-15 09:07:09 +02:00
Dada1981
b152e5bf4b
Merge pull request #15 from Dada1981/codex/persistence-seo-hardening
test: harden uploads and cover critical flows
2026-08-15 08:46:52 +02:00
Dada1981
463f98d078
Merge pull request #14 from Dada1981/codex/persistence-seo-hardening
feat: secure admin authentication with sessions
2026-08-15 00:39:50 +02:00
Dada1981
cf3acf0906
Merge pull request #13 from Dada1981/codex/persistence-seo-hardening
feat: require consent for Spotify embeds
2026-08-15 00:34:38 +02:00
Dada1981
9a37a6e937
Merge pull request #12 from Dada1981/codex/persistence-seo-hardening
feat: improve responsive project detail layout
2026-08-14 23:06:35 +02:00
Dada1981
9412b39919
Merge pull request #11 from Dada1981/codex/persistence-seo-hardening
feat: harden persistence and enrich portfolio projects
2026-08-14 22:46:59 +02:00
3 changed files with 5645 additions and 4 deletions

34
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,34 @@
name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
ci:
# This label must point to an isolated runner that has Node.js, Git,
# the Docker CLI, and access to a Docker/Podman daemon.
runs-on: docker-build
steps:
- name: Check out repository
uses: https://data.forgejo.org/actions/checkout@v6
- name: Set up Node.js
uses: https://data.forgejo.org/actions/setup-node@v4
with:
node-version: "20"
cache: npm
- name: Install dependencies
run: npm ci
- name: Typecheck
run: npm run typecheck
- name: Build and test
run: npm test
- name: Build container image
run: docker build --tag webstack-author:ci .

View file

@ -6,8 +6,8 @@ WORKDIR /app
# Copy dependency manifests # Copy dependency manifests
COPY package*.json ./ COPY package*.json ./
# Install all dependencies # Install exactly the dependency versions recorded in package-lock.json
RUN npm install RUN npm ci
# Copy full application codebase # Copy full application codebase
COPY . . COPY . .
@ -23,8 +23,8 @@ WORKDIR /app
# Copy configuration files # Copy configuration files
COPY package*.json ./ COPY package*.json ./
# Install only production dependencies (Express, dotenv, @google/genai) # Install exactly the locked production dependencies
RUN npm install --omit=dev RUN npm ci --omit=dev
# Copy compiled build resources from builder stage # Copy compiled build resources from builder stage
COPY --from=builder /app/dist ./dist COPY --from=builder /app/dist ./dist

5607
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff