Files
Wand-Enhancer-k1tbyte/.github/workflows/build.yml
T
kitbyte f798714f8d chore(build): enforce lint, type-check and dist invariants in build and CI
Add verify-dist.mjs (node --check on bundles, dev-only payload guard).
Wire lint into build.ps1 and type-check both web and bridge in pnpm build.
Drop noImplicitAny override and switch bridge to Bundler resolution.
Run CI on pull_request and push to master.
2026-08-29 16:55:07 +03:00

38 lines
796 B
YAML

name: Build executable
on:
workflow_dispatch:
pull_request:
push:
branches: [master]
jobs:
build:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v5
with:
version: 10.17.0
- uses: actions/setup-node@v5
with:
node-version: 22
cache: pnpm
cache-dependency-path: web-panel/pnpm-lock.yaml
- name: Build unsigned executable
shell: pwsh
run: ./build.ps1 -Configuration Release
- name: Upload unsigned executable
uses: actions/upload-artifact@v6
with:
name: WandEnhancer-unsigned
path: WandEnhancer/bin/Release/WandEnhancer.exe
if-no-files-found: error