From d216f13ea98ffacd3cfb4b6fe31387df4defb62c Mon Sep 17 00:00:00 2001 From: d1a9v9i2d92-rgb Date: Sun, 1 Feb 2026 18:27:41 -0600 Subject: [PATCH] Create webpack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit $ npx create-new-webpack-app init Need to install the following packages: create-new-webpack-app@1.1.1 Ok to proceed? (y) ? Which of the following JS solutions do you want to use? Typescript ? Do you want to use webpack-dev-server? Yes ? Do you want to simplify the creation of HTML files for your bundle? Yes ? Do you want to add PWA support? No ? Which of the following CSS solutions do you want to use? CSS only ? Will you be using PostCSS in your project? Yes ? Do you want to extract CSS for every file? Only for Production ? Which package manager do you want to use? npm [create-webpack] â„šī¸ Initializing a new Webpack project ... ... ... [create-webpack] ✅ Project dependencies installed successfully! [create-webpack] ✅ Project has been initialised with webpack! --- .github/workflows/webpack | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/webpack diff --git a/.github/workflows/webpack b/.github/workflows/webpack new file mode 100644 index 000000000000..9626ff6d3589 --- /dev/null +++ b/.github/workflows/webpack @@ -0,0 +1,28 @@ +name: NodeJS with Webpack + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 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: Build + run: | + npm install + npx webpack