Repository navigation
Add GitHub Actions workflow for NodeJS with Webpack - #2705
Aranmobinarann wants to merge 2 commits into
Conversation
|
|
@Aranmobinarann is attempting to deploy a commit to the rainbowdotme Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 25a3ba1. Configure here.
| - name: Build | ||
| run: | | ||
| npm install | ||
| npx webpack |
There was a problem hiding this comment.
Webpack build step cannot succeed
High Severity
The job runs npx webpack, but this repo has no webpack or webpack-cli dependency, no webpack config, and no root bundle entry. Packages build with esbuild through pnpm build. The workflow fails on every push and PR and never checks the real build.
Reviewed by Cursor Bugbot for commit 25a3ba1. Configure here.
|
|
||
| - name: Build | ||
| run: | | ||
| npm install |
There was a problem hiding this comment.
Install uses wrong package manager
High Severity
npm install cannot reproduce this monorepo. The repo pins pnpm@10.33.3, uses pnpm-workspace.yaml, and only has pnpm-lock.yaml. npm skips workspace packages and resolves unlocked versions, so the tree does not match local or ci.yml installs.
Reviewed by Cursor Bugbot for commit 25a3ba1. Configure here.
|
|
||
| strategy: | ||
| matrix: | ||
| node-version: [18.x, 20.x, 22.x] |
There was a problem hiding this comment.
Node matrix ignores engine requirement
Medium Severity
The matrix runs Node 18.x, 20.x, and 22.x, while engines.node requires >=24 and every other workflow uses Node 24. Those legs test unsupported runtimes and can hit engine warnings or install and runtime failures from current dependencies.
Reviewed by Cursor Bugbot for commit 25a3ba1. Configure here.
SummaryThis PR adds a GitHub Actions workflow to run a webpack build on pushes and pull requests targeting The workflow validates compatibility across Node.js 18.x, 20.x, and 22.x to catch build regressions early and ensure the project still compiles cleanly across supported runtime versions. WhyThis helps prevent broken builds from being merged unnoticed and gives faster feedback during CI when a change affects the build toolchain or project configuration. Changes
Validation
NotesA changeset was added because this repo requires a version bump entry for package changes. |
This workflow installs Deno and runs linting and tests on push and pull request events to the main branch.


✅ توضیح Pull Request
📋 خلاصه تغییرات
عنوان: اضافه کردن Workflow برای Webpack Build
نوع: ✨ Feature (ویژگی جدید)
فایل تغییر کرده:
.github/workflows/webpack.yml(جدید)🎯 هدف
اتوماتیک سازی فرآیند ساخت و کمپایل پروژه با استفاده از Webpack به صورت خودکار هر وقت کد در شاخه
mainتغییر کند یا PR ایجاد شود.📝 تفاصیل فایل جدید
Workflow:
webpack.ymlوقایع (Events) که Workflow را فعال میکند:
mainmainکاری که انجام میدهد: