Skip to content

bump browser deps

bump browser deps #82

Workflow file for this run

name: github-pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Setup Rust
uses: hecrj/setup-rust-action@v2
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
- name: Setup wasm-pack
uses: jetli/wasm-pack-action@v0.4.0
with:
version: 'latest'
# https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time
- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Installing Dependencies
uses: pnpm/action-setup@v2
with:
version: 7
run_install: |
- recursive: true
args: [--frozen-lockfile]
- name: Build WASM + list of ROMs
run: |
pnpm run build:gb
pnpm run build:debugger
node generateRomsList.js
- name: Validate frontend
run: pnpm run validate
- name: Building App
run: USE_HASH_ROUTER=true pnpm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public