Skip to content

Merge pull request #580 from trilitech/fix-dependencies-warnings #426

Merge pull request #580 from trilitech/fix-dependencies-warnings

Merge pull request #580 from trilitech/fix-dependencies-warnings #426

name: Deploy to Github Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: "--max_old_space_size=4096"
steps:
- uses: actions/checkout@v4
- name: Setup yarn 3.x
run: |
corepack enable
yarn set version 3.5.0
- uses: actions/setup-node@v4
with:
node-version: 18.15.x
cache: "yarn"
- name: Install packages
run: yarn install --immutable
- name: Build
run: yarn build
- name: Deploy Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build