From fdf1e2a41d079c4f2d1f3df7c297fa0d92a18cc9 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 03 Aug 2023 06:29:28 +0000
Subject: [PATCH] use checkout for pulling updates

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

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 2a6e70c..4a7a9f7 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -1,4 +1,4 @@
-name: Build and Test 
+name: Build and Test
 
 on:
   push:
@@ -7,7 +7,10 @@
 
 jobs:
   build-and-test:
-    runs-on: ubuntu-22.04
+    strategy:
+      matrix:
+        os: [windows-latest, macos-latest, ubuntu-latest]
+    runs-on: ${{ matrix.os }}
     permissions:
       contents: write
     steps:
@@ -30,8 +33,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

--
Gitblit v1.10.0