2021-03-25 08:02:03 -05:00
|
|
|
name: CI
|
2020-02-13 11:57:39 -06:00
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-06-15 04:12:03 -05:00
|
|
|
node-version: [18.x]
|
2022-02-23 12:16:14 -06:00
|
|
|
os: [ubuntu-latest, windows-2019, macos-latest]
|
2020-02-13 11:57:39 -06:00
|
|
|
|
|
|
|
steps:
|
2022-12-06 08:16:45 -06:00
|
|
|
- uses: actions/checkout@v3
|
2020-03-18 00:45:00 -05:00
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
2022-12-06 08:16:50 -06:00
|
|
|
uses: actions/setup-node@v3
|
2020-03-18 00:45:00 -05:00
|
|
|
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
|