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" ] | ||
|
|
No description provided.