Add GitHub Actions workflow for Node.js with Webpack - #1133
Add GitHub Actions workflow for Node.js with Webpack#1133markusknudtsen-droid wants to merge 1 commit into
Conversation
PR checks failedA couple of things need fixing before this can be reviewed. Description is empty or too short. Please say what the change does and why. If it fixes an open Edit the PR and this check re-runs automatically. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a GitHub Actions workflow to build the project with Webpack across multiple Node.js versions on pushes and PRs to main.
Changes:
- Introduces a new CI workflow triggered on
push/pull_requesttomain - Runs a build job on
ubuntu-latestwith a Node.js version matrix (18/20/22) - Installs dependencies and runs
webpackvianpx
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Use Node.js ${{ matrix.node-version }} | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
|
|
||
| - name: Build | ||
| run: | | ||
| npm install | ||
| npx webpack |
|
|
||
| - name: Build | ||
| run: | | ||
| npm install |
| name: NodeJS with Webpack | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main" ] | ||
| pull_request: | ||
| branches: [ "main" ] | ||
|
|
|
Thanks for the contribution, but this appears to be an unmodified GitHub-generated template (the default "Node.js with Webpack" starter workflow) rather than something tailored to this repo. Codebuff/Freebuff isn't built with webpack - there's no Since this would add a broken, always-failing CI job with no relation to the project's real build process, I can't recommend porting it. If you're interested in improving CI, it'd help to first look at how the project actually builds/tests (e.g. via the existing scripts in package.json) and propose a workflow that matches that, rather than a generic scaffold. Closing as not applicable to this codebase. |
No description provided.