SymphonyElectron/.github/workflows/ci.yml
2022-12-07 11:19:08 +01:00

29 lines
677 B
YAML

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest, windows-2019, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm config set package-lock false
- name: install linux dependency
if: startsWith(matrix.os,'ubuntu')
run: sudo apt-get install libxtst-dev
- run: npm install
- run: npm test
env:
CI: true
ELECTRON_QA: true