name: CI on: [push, pull_request] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: node-version: [12.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 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