Skip to content

Bump vite from 4.5.3 to 4.5.5 in /app #102

Bump vite from 4.5.3 to 4.5.5 in /app

Bump vite from 4.5.3 to 4.5.5 in /app #102

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
EM_VERSION: 1.39.18
EM_CACHE_FOLDER: 'emsdk-cache'
jobs:
build_app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 18.x
- uses: MarkusJx/[email protected]
with:
boost_version: 1.73.0
- name: Setup cache
id: cache-system-libraries
uses: actions/cache@v2
with:
path: ${{env.EM_CACHE_FOLDER}}
key: ${{env.EM_VERSION}}-${{ runner.os }}
- uses: mymindstorm/setup-emsdk@v11
with:
version: ${{env.EM_VERSION}}
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
- run: ./build_wasm.sh boost/boost/include
- run: BOOST_INCLUDEDIR=boost/boost/include cmake . && make
- run: cd app && npm install && npx tsc && npx vite build --base=/font-maker/
- name: build_app
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./app/dist
force_orphan: true