Skip to content

Merge branch 'master' of https://github.com/carlgunderson/carlgunders… #2

Merge branch 'master' of https://github.com/carlgunderson/carlgunders…

Merge branch 'master' of https://github.com/carlgunderson/carlgunders… #2

Workflow file for this run

name: NodeJS with Webpack
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
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: Install npm dependencies
run: npm install
- name: Run Webpack build
run: npm run build
- name: Copy index.html to project root
run: cp dist/index.html index.html