Skip to content

Merge dev branch to main#9

Merged
avenolazo merged 4 commits into
mainfrom
dev
Feb 4, 2026
Merged

Merge dev branch to main#9
avenolazo merged 4 commits into
mainfrom
dev

Conversation

@avenolazo

Copy link
Copy Markdown
Contributor

CI/CD Deployment Setup & Workflow Sync

@avenolazo avenolazo requested a review from Copilot February 4, 2026 13:47
@avenolazo avenolazo merged commit 026dd58 into main Feb 4, 2026
4 of 5 checks passed
avenolazo added a commit that referenced this pull request Feb 4, 2026
Merge pull request #9 from hyperstack-solidity/dev

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo to align main with the dev branch by syncing dependency state and introducing GitHub Actions workflows intended for CI checks and Vercel deployment.

Changes:

  • Upgrade Next.js from 15.1.6 to 16.1.6 (and refresh the pnpm lockfile accordingly, including sharp/@img/* updates).
  • Add GitHub Actions workflows for PR lint/build checks and Vercel deployment.
  • Update .gitignore to ignore .vercel.

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
pnpm-lock.yaml Lockfile refresh reflecting Next.js 16.x and related dependency graph changes.
package.json Bumps next to 16.1.6.
.gitignore Adds .vercel to ignored files.
.github/workflows/vercel-merge.yml Adds automated Vercel deployment workflow.
.github/workflows/ci.yml Adds PR lint/build workflow.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +45 to +55
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build Next.js Application
run: pnpm build

- name: Deploy to Vercel
run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}

Copilot AI Feb 4, 2026

Copy link

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.

Copilot uses AI. Check for mistakes.
${{ runner.os }}-pnpm-store-

- name: Install Vercel CLI
run: npm install --global vercel@latest

Copilot AI Feb 4, 2026

Copy link

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.

Suggested change
run: npm install --global vercel@latest
run: npm install --global vercel@39

Copilot uses AI. Check for mistakes.
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

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actions/setup-node is already configured with cache: 'pnpm', and this workflow also adds a separate actions/cache step for the pnpm store. This is redundant and increases maintenance surface; prefer one caching approach (usually setup-node's built-in pnpm cache) unless you have a measured need for the manual cache.

Suggested change
- 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 uses AI. Check for mistakes.
Comment thread .github/workflows/ci.yml
Comment on lines +4 to +7
pull_request:
branches:
- dev
paths:

Copilot AI Feb 4, 2026

Copy link

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 merging dev into main (as this PR indicates), PRs opened against main won't get lint/build checks. Consider adding main to the pull_request.branches list (or switching to pull_request without branch filtering).

Copilot uses AI. Check for mistakes.
Comment on lines +51 to +53
- name: Build Next.js Application
run: pnpm build

Copilot AI Feb 4, 2026

Copy link

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.

Suggested change
- name: Build Next.js Application
run: pnpm build

Copilot uses AI. Check for mistakes.
Comment thread package.json
"immer": "latest",
"lucide-react": "^0.454.0",
"next": "15.1.6",
"next": "16.1.6",

Copilot AI Feb 4, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

next is upgraded to 16.x, but eslint-config-next remains on ^15.1.6 (see package.json devDependencies). These versions are intended to stay in sync; keeping the old config can cause lint rule mismatches or missing Next 16 rules. Update eslint-config-next (and any related @next/*eslint* packages) to the corresponding 16.x version.

Copilot uses AI. Check for mistakes.
Comment on lines +1 to +6
name: Deploy to vercel on merge
on:
push:
branches:
- dev

Copilot AI Feb 4, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Workflow name/intent says "Deploy to vercel on merge", but this triggers on push to dev. If the goal is to deploy after merges to the production branch, update the trigger to push on main (or pull_request with types: [closed] + if: github.event.pull_request.merged == true targeting main).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants