Jacky Zhao
2023-08-14 7bde99b4e2d49e30dad1e0d58ccc34c2e7482005
.github/workflows/ci.yaml
@@ -1,4 +1,4 @@
name: Build and Test
name: Build and Test
on:
  push:
@@ -7,7 +7,11 @@
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