Fix unit testing #651
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ | |
macos-latest, | |
ubuntu-latest, | |
windows-latest | |
] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20.11.0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '2.7' | |
- name: Build Electron app | |
shell: bash | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SIGN: false | |
run: | | |
yarn install --network-timeout 1000000 | |
yarn electron:build --publish="never" | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
# Artifact name | |
name: ${{ matrix.os }}-artifact | |
# Directory containing files to upload | |
path: dist_electron |