name: "Main workflow" on: [pull_request, push] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@v1 with: fetch-depth: 1 - uses: actions/setup-node@v1 - name: "Install dependencies" run: yarn - name: "Build application" run: yarn dist