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
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
PORT: 4321
HOST: 0.0.0.0
BASE_URL: http://127.0.0.1:4321
PUBLIC_GA_MEASUREMENT_ID: ${{ vars.PUBLIC_GA_MEASUREMENT_ID }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
Expand All @@ -91,6 +92,14 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Validate PUBLIC_GA_MEASUREMENT_ID
run: |
if [ -z "$PUBLIC_GA_MEASUREMENT_ID" ]; then
echo "Error: PUBLIC_GA_MEASUREMENT_ID is not configured in GitHub repository variables"
echo "Please configure it in: Settings → Secrets and variables → Actions → Variables"
exit 1
fi
echo "PUBLIC_GA_MEASUREMENT_ID is configured"
- name: Build app
run: pnpm build
- name: Start server
Expand Down Expand Up @@ -123,6 +132,8 @@ jobs:
Build:
name: Build-App
runs-on: ubuntu-latest
env:
PUBLIC_GA_MEASUREMENT_ID: ${{ vars.PUBLIC_GA_MEASUREMENT_ID }}
needs:
- Lint
- Type-Check
Expand All @@ -137,4 +148,12 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Validate PUBLIC_GA_MEASUREMENT_ID
run: |
if [ -z "$PUBLIC_GA_MEASUREMENT_ID" ]; then
echo "Error: PUBLIC_GA_MEASUREMENT_ID is not configured in GitHub repository variables"
echo "Please configure it in: Settings → Secrets and variables → Actions → Variables"
exit 1
fi
echo "PUBLIC_GA_MEASUREMENT_ID is configured"
- run: pnpm build
21 changes: 13 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
},
"dependencies": {
"@astrojs/check": "0.9.4",
"@astrojs/mdx": "4.3.4",
"@astrojs/mdx": "4.3.13",
"@astrojs/node": "9.4.3",
"@astrojs/rss": "4.0.12",
"@astrojs/sitemap": "3.5.1",
"@lucide/astro": "0.541.0",
"@tailwindcss/vite": "4.1.12",
"astro": "5.13.3",
"astro": "5.16.6",
"astro-expressive-code": "0.41.3",
"dev": "^0.1.3",
"flexsearch": "0.8.205",
Expand All @@ -54,25 +54,30 @@
"devDependencies": {
"@lhci/cli": "0.15.1",
"@lhci/server": "0.15.1",
"@playwright/test": "1.55.0",
"@playwright/test": "1.57.0",
"@tailwindcss/postcss": "4.1.12",
"@tailwindcss/typography": "0.5.16",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "6.8.0",
"@testing-library/user-event": "14.6.1",
"@typescript-eslint/parser": "8.40.0",
"@vitest/coverage-v8": "3.2.4",
"@vitest/coverage-v8": "4.0.16",
"astro-eslint-parser": "1.2.2",
"autoprefixer": "10.4.21",
"dotenv-cli": "10.0.0",
"eslint": "9.34.0",
"eslint": "9.39.2",
"eslint-plugin-astro": "1.3.1",
"happy-dom": "18.0.1",
"lighthouse": "12.8.1",
"happy-dom": "20.0.11",
"lighthouse": "13.0.1",
"postcss": "8.5.6",
"tailwindcss": "4.1.12",
"tailwindcss-animate": "1.0.7",
"tsx": "4.20.5",
"vitest": "3.2.4"
"vitest": "4.0.16"
},
"pnpm": {
"overrides": {
"mdast-util-to-hast": ">=13.2.1"
}
}
}
Loading
Loading