orbe-launcher/.github/workflows/ci.yml
2026-10-14 21:18:30 +02:00

32 lines
809 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npm test
- run: npm run dist
env:
CSC_IDENTITY_AUTO_DISCOVERY: false
# certificat de signature de code (secrets du dépôt) : sans eux, build non signé
WIN_CSC_LINK: ${{ secrets.WIN_CSC_LINK }}
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
- uses: actions/upload-artifact@v4
with:
name: orbe-launcher-windows
path: |
dist/*.exe
if-no-files-found: error