The Svelte 5 SSG Migration #1

Merged
mifi merged 14 commits from feature/svelte-ssg into main 2026-02-01 05:50:42 +00:00
3 changed files with 17 additions and 14 deletions
Showing only changes of commit 232b107a3f - Show all commits

View File

@@ -7,11 +7,12 @@ when:
- event: tag - event: tag
- event: manual - event: manual
depends_on:
- lint
steps: steps:
- name: build - name: build
image: node:20-alpine image: node:20-alpine
commands: commands:
- corepack enable && corepack prepare pnpm@10.28.2 --activate - corepack enable && corepack prepare pnpm@10.28.2 --activate
- pnpm run build - pnpm run build
depends_on:
- lint

View File

@@ -5,8 +5,13 @@ when:
branch: main branch: main
event: [push, tag, manual] event: [push, tag, manual]
depends_on:
- lint
- build
- test
steps: steps:
- name: docker-build - name: 'Docker image build'
image: docker:latest image: docker:latest
environment: environment:
REGISTRY_REPO: git.mifi.dev/mifi-ventures/landing REGISTRY_REPO: git.mifi.dev/mifi-ventures/landing
@@ -25,12 +30,8 @@ steps:
--label "git.branch=${CI_COMMIT_BRANCH}" \ --label "git.branch=${CI_COMMIT_BRANCH}" \
. .
- echo "✓ Docker image built successfully" - echo "✓ Docker image built successfully"
depends_on:
- lint
- build
- test
- name: push - name: 'Push to registry'
image: docker:latest image: docker:latest
environment: environment:
REGISTRY_URL: git.mifi.dev REGISTRY_URL: git.mifi.dev
@@ -54,9 +55,9 @@ steps:
- docker push $REGISTRY_REPO:latest - docker push $REGISTRY_REPO:latest
- echo "✓ Images pushed successfully" - echo "✓ Images pushed successfully"
depends_on: depends_on:
- docker-build - 'Docker image build'
- name: deploy - name: 'Trigger Portainer stack redeploy'
image: curlimages/curl:latest image: curlimages/curl:latest
environment: environment:
PORTAINER_WEBHOOK_URL: PORTAINER_WEBHOOK_URL:
@@ -74,4 +75,4 @@ steps:
fi fi
echo "✓ Portainer redeploy triggered (HTTP $code)" echo "✓ Portainer redeploy triggered (HTTP $code)"
depends_on: depends_on:
- push - 'Push to registry'

View File

@@ -7,12 +7,13 @@ when:
- event: tag - event: tag
- event: manual - event: manual
depends_on:
- lint
- build
steps: steps:
- name: test - name: test
image: node:20-alpine image: node:20-alpine
commands: commands:
- corepack enable && corepack prepare pnpm@10.28.2 --activate - corepack enable && corepack prepare pnpm@10.28.2 --activate
- pnpm test - pnpm test
depends_on:
- lint
- build