Skip to content

Create webpack.yml

Create webpack.yml #2

Workflow file for this run

.github/workflows/webpack.ymlname: NodeJS with Webpack

Check failure on line 1 in .github/workflows/webpack.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/webpack.yml

Invalid workflow file

(Line: 1, Col: 1): Unexpected value '.github/workflows/webpack.ymlname'
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