Skip to content

Merge pull request #3 from hacking-night/dependabot/npm_and_yarn/roll… #23

Merge pull request #3 from hacking-night/dependabot/npm_and_yarn/roll…

Merge pull request #3 from hacking-night/dependabot/npm_and_yarn/roll… #23

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- name: Build
run: |
npm ci
npm run build
- name: Deploy
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist