on: [push]

jobs:
  build:
    strategy:
      matrix:
        os: [macos-latest, 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: yarn install --frozen-lockfile
      - run: yarn compile

      - name: Run tests
        uses: GabrielBB/xvfb-action@v1.2
        with:
          run: yarn test

on: [push]

jobs:
  build:
    strategy:
      matrix:
        os: [macos-latest, 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: yarn install --frozen-lockfile

      - name: Run tests
        uses: GabrielBB/xvfb-action@v1.0
        with:
          run: yarn test

Build not failing although tests are
Build not failing although tests are
