mirror of
https://github.com/k1tbyte/Wand-Enhancer.git
synced 2026-08-30 21:01:20 +00:00
f798714f8d
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.
38 lines
796 B
YAML
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
|