Skip to content

[cd] Fix deploy CI job (#1238) #347

[cd] Fix deploy CI job (#1238)

[cd] Fix deploy CI job (#1238) #347

Workflow file for this run

name: Website
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- name: Bun Install
run: bun install --frozen-lockfile
- name: Generate Static Site
run: bun ssg
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: actions/setup-node@v4
with:
node-version: 22.x
- uses: oven-sh/setup-bun@v1
- name: Cache Cargo
uses: Swatinem/rust-cache@v2
with:
key: cargo-build-wasm
- name: Setup wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Build and Test WASM
run: bun bw