Skip to content

[F] try to fix build #11

[F] try to fix build

[F] try to fix build #11

Workflow file for this run

name: Vite Build
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
jobs:
build:
name: Build main
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install and build
run: |
export NODE_OPTIONS="--max-old-space-size=4096"
yarn install
yarn build
- name: Deploy to GitHub branch
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist