Skip to content

Merge pull request #27 from ruslauz/dependabot/npm_and_yarn/follow-re… #54

Merge pull request #27 from ruslauz/dependabot/npm_and_yarn/follow-re…

Merge pull request #27 from ruslauz/dependabot/npm_and_yarn/follow-re… #54

Workflow file for this run

name: NodeJS with Webpack
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [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: Install
run: npm ci
- name: Build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build