name: "@vscode/test-electron" on: push: branches: [master] pull_request: branches: [master] jobs: build: strategy: matrix: os: [macos-11, ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v2 - name: Install Node.js uses: actions/setup-node@v1 with: node-version: 10.x - run: npm ci - run: xvfb-run -a npm test if: runner.os == 'Linux' - run: npm test if: runner.os != 'Linux'