Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add GitHub Actions workflow for NodeJS with Webpack #2671

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

Open
al7566 wants to merge 10 commits into simstudioai:main
base: main
Choose a base branch
Loading
from al7566:main
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit Hold shift + click to select a range
957fd12
Add GitHub Actions workflow for NodeJS with Webpack
al7566 Jan 3, 2026
23e5b1a
Update webpack workflow to use bun for dependency installation
al7566 Jan 3, 2026
c897083
Update webpack workflow to use bun run build
al7566 Jan 3, 2026
e9432c7
fix: remove Node.js 18.x from CI matrix (requires >=20.9.0 for Next.js)
al7566 Jan 3, 2026
7633f4d
Initial plan
Copilot Jan 3, 2026
c0672eb
fix: update Node.js version to 20.17.0 to meet Next.js requirement (>...
Copilot Jan 3, 2026
f6b628a
Merge pull request #2 from al7566/copilot/update-node-version-workflow
al7566 Jan 3, 2026
785cae1
fix: Update Node.js version to 20.x for Next.js compatibility
al7566 Jan 3, 2026
f4b7440
fix: ensure Node.js 20+ is used for Next.js build
al7566 Jan 3, 2026
eaaed66
Fix Node.js version for Next.js build
al7566 Jan 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/webpack.yml
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: NodeJS with Webpack

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x, 22.x]

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install
env:
NODE_VERSION: ${{ matrix.node-version }}

- name: Build
run: bun run build
env:
NODE_VERSION: ${{ matrix.node-version }}

AltStyle によって変換されたページ (->オリジナル) /