Jacky Zhao
2023-08-20 71471117c5ec4acdfc0b8335b4462ab43d86fce6
.github/workflows/ci.yaml
@@ -1,13 +1,17 @@
name: Build and Test
name: Build and Test
on:
  push:
    branches:
      - v4-alpha # TODO: update
      - v4
jobs:
  build-and-test:
    runs-on: ubuntu-22.04
    if: ${{ github.repository == 'jackyzha0/quartz' }}
    strategy:
      matrix:
        os: [windows-latest, macos-latest, ubuntu-latest]
    runs-on: ${{ matrix.os }}
    permissions:
      contents: write
    steps:
@@ -30,8 +34,11 @@
      - run: npm ci
      - name: Check types and style
        run: npm run check
      - name: Test
        run: npm test
      - name: Ensure Quartz builds
        run: npx quartz build
        run: npx quartz build