Skip to content

Commit 7f307b3

Browse files
ajitpratap0Ajit Pratap Singhclaude
authored
fix(ci): restore production — remove doubled working-directory from Vercel deploy steps (#419)
* fix(website): broken doc links, WASM service worker cache versioning, 404 status - Issue #397: not-found.tsx is already correct Next.js App Router structure (no changes needed — returns HTTP 404 automatically for unmatched routes) - Issue #398: Replace relative .md file links with website doc routes in GETTING_STARTED.md, CLI_GUIDE.md, USAGE_GUIDE.md, LINTING_RULES.md, CONFIGURATION.md, API_REFERENCE.md, SQL_COMPATIBILITY.md - Issue #403: Version WASM service worker cache key (gosqlx-wasm-v2), add self.clients.claim() on activate, scope cache deletion to gosqlx-wasm-* prefix only, guard fetch with response.ok check Closes #397, #398, #403 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(ci): remove working-directory: website from Vercel CLI steps The Vercel project has rootDirectory=website in the dashboard. Running vercel CLI from website/ CWD caused doubled-path resolution: website/website/package.json → ENOENT on every deploy since 2026-03-17. Running from repo root lets Vercel CLI resolve rootDirectory=website correctly (repo_root/website/), so WASM binary copied to website/public/wasm/ in the Build WASM step is included in the artifact. Fixes: 3 consecutive production deploy failures, WASM 404 in playground. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(ci): remove path filter from claude-code-review — runs on all PR pushes Path filter caused the workflow to skip on synchronize events where only non-matched files changed (e.g., .yml, .md). The opened event bypasses path filtering so it ran on first push but not on subsequent pushes. Also adds workflow_dispatch for manual triggering and reopened type. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 928de4e commit 7f307b3

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,8 @@ name: Claude Code Review
22

33
on:
44
pull_request:
5-
types: [opened, synchronize]
6-
paths:
7-
- "**/*.go"
8-
- "**/*.ts"
9-
- "**/*.tsx"
10-
- "**/*.js"
11-
- "**/*.jsx"
12-
- "go.mod"
13-
- "go.sum"
5+
types: [opened, synchronize, reopened]
6+
workflow_dispatch:
147

158
jobs:
169
claude-review:

.github/workflows/website.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,18 @@ jobs:
5151

5252
- name: Pull Vercel environment
5353
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
54-
working-directory: website
5554
env:
5655
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
5756
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
5857

5958
- name: Build with Vercel
6059
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
61-
working-directory: website
6260
env:
6361
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
6462
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
6563

6664
- name: Deploy to Vercel
6765
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
68-
working-directory: website
6966
env:
7067
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
7168
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

0 commit comments

Comments
 (0)