From 5fa6fc97899c905b6fbc14fa1d24334f3e68fa77 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 29 Aug 2023 17:37:00 +0000
Subject: [PATCH] fix: aliasredirects not using full path, add permalink support

---
 .github/workflows/ci.yaml |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index a1c2c58..731395d 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -1,13 +1,20 @@
 name: Build and Test
 
 on:
+  pull_request:
+    branches:
+      - v4
   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:
@@ -29,8 +36,9 @@
             ${{ runner.os }}-node-
 
       - run: npm ci
+
       - name: Check types and style
-        run: npm check
+        run: npm run check
 
       - name: Test
         run: npm test

--
Gitblit v1.10.0