1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-03-28 11:00:05 +01:00

Create webpack.yml

This commit is contained in:
1TomTOM993 2023-10-30 04:30:00 -04:00 committed by GitHub
parent b4ffde65f4
commit 8b940f2f4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

28
.github/workflows/webpack.yml vendored Normal file
View file

@ -0,0 +1,28 @@
0name: NodeJS with Webpack
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
npx webpack