Skip to content

chore: versions and build #5

chore: versions and build

chore: versions and build #5

Workflow file for this run

name: build-windows
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_job:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@master
with:
node-version: 20
- name: install dependencies electron-app
run: npm install
working-directory: electron-app
- name: install dependencies server
run: npm install
working-directory: server
- name: lint/format electron-app
env:
CI: false
run: npm run ci:format
working-directory: electron-app
- name: lint/format server
env:
CI: false
run: npm run ci:format
working-directory: server
- name: test
env:
CI: false
run: npm run test
working-directory: server
- name: compile server
env:
CI: false
run: npm run compile
working-directory: server
- name: build
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish