Browse Source

Create webpack.yml

pull/1560/head
LittleZ 8 months ago
committed by GitHub
parent
commit
dfb4249203
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 28
      .github/workflows/webpack.yml

28
.github/workflows/webpack.yml

@ -0,0 +1,28 @@
name: NodeJS with Webpack
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
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
Loading…
Cancel
Save