-
Notifications
You must be signed in to change notification settings - Fork 3
Merge dev branch to main #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ea4a882
8fc3dae
10ebca1
b010c0b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| name: PR Checks (Frontend) | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - dev | ||
| paths: | ||
| - '**' | ||
| - '.github/workflows/ci.yml' | ||
|
|
||
| jobs: | ||
| lint_and_build: | ||
| name: Lint & Build | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 10 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '20' | ||
| cache: 'pnpm' | ||
|
|
||
| - name: Install dependencies | ||
| run: pnpm install --frozen-lockfile | ||
|
|
||
| - name: Run Lint | ||
| run: pnpm lint | ||
|
|
||
| - name: Build Application | ||
| run: pnpm build | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,55 @@ | ||||||||||||||||||||||||||||
| name: Deploy to vercel on merge | ||||||||||||||||||||||||||||
| on: | ||||||||||||||||||||||||||||
| push: | ||||||||||||||||||||||||||||
| branches: | ||||||||||||||||||||||||||||
| - dev | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
|
Comment on lines
+1
to
+6
|
||||||||||||||||||||||||||||
| jobs: | ||||||||||||||||||||||||||||
| build_and_deploy: | ||||||||||||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||||||||||||
| env: | ||||||||||||||||||||||||||||
| VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | ||||||||||||||||||||||||||||
| VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||
| - name: Checkout repository | ||||||||||||||||||||||||||||
| uses: actions/checkout@v4 | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| - name: Install pnpm | ||||||||||||||||||||||||||||
| uses: pnpm/action-setup@v4 | ||||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||||
| version: 10 | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| - name: Setup Node.js | ||||||||||||||||||||||||||||
| uses: actions/setup-node@v4 | ||||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||||
| node-version: '20' | ||||||||||||||||||||||||||||
| cache: 'pnpm' | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| - name: Get pnpm store directory | ||||||||||||||||||||||||||||
| shell: bash | ||||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||||
| echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| - name: Setup pnpm cache | ||||||||||||||||||||||||||||
| uses: actions/cache@v4 | ||||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||||
| path: ${{ env.STORE_PATH }} | ||||||||||||||||||||||||||||
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }} | ||||||||||||||||||||||||||||
| restore-keys: | | ||||||||||||||||||||||||||||
| ${{ runner.os }}-pnpm-store- | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
|
Comment on lines
+29
to
+41
|
||||||||||||||||||||||||||||
| - name: Get pnpm store directory | |
| shell: bash | |
| run: | | |
| echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | |
| - name: Setup pnpm cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ env.STORE_PATH }} | |
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm-store- | |
Copilot
AI
Feb 4, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm install --global vercel@latest makes builds non-reproducible and can break CI/CD if Vercel CLI releases a breaking change. Pin the Vercel CLI to a specific version (or at least a major) to keep deployments deterministic.
| run: npm install --global vercel@latest | |
| run: npm install --global vercel@39 |
Copilot
AI
Feb 4, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow runs pnpm build and then vercel deploy --prod without --prebuilt. In this mode, Vercel CLI performs the build on Vercel, so the local pnpm build is typically redundant time/cost. If you want to deploy the local build artifacts, switch to vercel build + vercel deploy --prebuilt; otherwise remove the local build step.
| - name: Build Next.js Application | |
| run: pnpm build | |
Copilot
AI
Feb 4, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This job pulls --environment=production and deploys with --prod regardless of branch context. With the current trigger (pushes to dev), it can publish unreviewed commits to production. Consider using Vercel preview deployments for dev and reserving --prod for main only.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,4 +24,5 @@ yarn-error.log* | |
|
|
||
| # typescript | ||
| *.tsbuildinfo | ||
| next-env.d.ts | ||
| next-env.d.ts | ||
| .vercel | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,7 +47,7 @@ | |
| "embla-carousel-react": "8.5.1", | ||
| "immer": "latest", | ||
| "lucide-react": "^0.454.0", | ||
| "next": "15.1.6", | ||
| "next": "16.1.6", | ||
|
||
| "next-themes": "^0.4.6", | ||
| "react": "19.0.0", | ||
| "react-day-picker": "9.8.0", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is configured to run only for PRs targeting
dev. If the standard flow is mergingdevintomain(as this PR indicates), PRs opened againstmainwon't get lint/build checks. Consider addingmainto thepull_request.brancheslist (or switching topull_requestwithout branch filtering).