Skip to content

feat: CI/CD pipeline (build on push, release on tag) #1

feat: CI/CD pipeline (build on push, release on tag)

feat: CI/CD pipeline (build on push, release on tag) #1

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build:installer
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4
with:
name: GateControl-Installer
path: dist/*.exe
retention-days: 14