Skip to content

add updates to readme, fixed start bug #29

add updates to readme, fixed start bug

add updates to readme, fixed start bug #29

Workflow file for this run

name: NodeJS with Webpack, and push to github pages
on:
push:
branches: [ main,master ]
pull_request:
branches: [ main,master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build webpack to dist folder
run: |
yarn
yarn run build
cp ./src/index.html ./dist/index.html
- name: Deploy to GH Page
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist