Skip to content

feat(build): prepare fixed webview runtime for production v0.1.0 #4

feat(build): prepare fixed webview runtime for production v0.1.0

feat(build): prepare fixed webview runtime for production v0.1.0 #4

Workflow file for this run

name: ci
on:
pull_request:
paths:
- ".github/workflows/**"
- "deploy/**"
- "src/**"
- "src-tauri/**"
- "plugins/**"
- "index.html"
- "splashscreen.html"
- "vite.config.ts"
- "build.cjs"
- "package.json"
- "pnpm-lock.yaml"
push:
branches: [main]
paths:
- ".github/workflows/**"
- "deploy/**"
- "src/**"
- "src-tauri/**"
- "plugins/**"
- "index.html"
- "splashscreen.html"
- "vite.config.ts"
- "build.cjs"
- "package.json"
- "pnpm-lock.yaml"
jobs:
check:
runs-on: windows-latest
env:
ENV_NAME: production
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build frontend
run: node build.cjs
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Rust check
working-directory: src-tauri
run: cargo check