Jacky Zhao
2023-08-07 3adc73a703142b3c0475570e4de16701b2797524
.github/workflows/ci.yaml
@@ -1,4 +1,4 @@
name: Build and Test
name: Build and Test
on:
  push:
@@ -6,8 +6,12 @@
      - v4-alpha # TODO: update
jobs:
  deploy:
    runs-on: ubuntu-22.04
  build-and-test:
    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