Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Server-only credentials. Configure these in `.env.local` for local
# development and in the deployment provider's encrypted environment settings
# for production. Never commit real values.
DEEPSEEK_API_KEY=replace-with-your-siliconflow-api-key
ARK_API_KEY=replace-with-your-volcengine-ark-api-key
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on:
push:
branches:
- main
- "security/**"
- "portfolio/**"
pull_request:

permissions:
contents: read

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5

- name: Set up Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version: "22"
package-manager-cache: false

- name: Install locked dependencies
run: corepack pnpm@8.15.6 install --frozen-lockfile

- name: Audit production dependencies
run: corepack pnpm@8.15.6 audit --prod

- name: Type-check
run: corepack pnpm@8.15.6 exec tsc --noEmit

- name: Build production application
env:
ARK_API_KEY: ci-placeholder
DEEPSEEK_API_KEY: ci-placeholder
run: corepack pnpm@8.15.6 build
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ yarn-error.log*
# local env files
.env
.env*.local
.history/

# vercel
.vercel
Expand All @@ -35,4 +36,4 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts

.history
.history
27 changes: 0 additions & 27 deletions .history/.gitignore_20250727100327

This file was deleted.

36 changes: 0 additions & 36 deletions .history/.gitignore_20250803171954

This file was deleted.

1 change: 0 additions & 1 deletion .history/README_20250803172033.md

This file was deleted.

85 changes: 0 additions & 85 deletions .history/README_20250803172037.md

This file was deleted.

1 change: 0 additions & 1 deletion .history/app/api/generate-images/route_20250801235053.ts

This file was deleted.

100 changes: 0 additions & 100 deletions .history/app/api/generate-images/route_20250801235058.ts

This file was deleted.

Loading