feat: add macOS compatibility with optional Playwright

This commit is contained in:
luckyyzh
2026-08-03 03:23:35 +08:00
parent 690020f823
commit dd47c3628d
9 changed files with 190 additions and 43 deletions
+21 -1
View File
@@ -1,6 +1,7 @@
---
name: CI
on:
"on":
push:
branches: [main]
pull_request:
@@ -28,3 +29,22 @@ jobs:
- run: npm run setup
- run: npm run typecheck
- run: npm run test:managed
macos:
strategy:
matrix:
os: [macos-15, macos-15-intel]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.19.0
cache: npm
cache-dependency-path: |
pi/package-lock.json
pi-web/package-lock.json
- run: npm run setup
- run: npm run typecheck
- run: npm run test:managed