Files
AIPex/.github/workflows/ci.yml
jk4235 7ec02076dd chore: simplify CI testing and enhance Puppeteer test logging
- Updated the CI workflow to consolidate test commands into a single step, improving clarity and efficiency.
- Added debug logging in Puppeteer tests to track the loading of complex fixture URLs and the visibility of iframe elements, aiding in troubleshooting and test visibility.
2026-01-28 15:30:11 +08:00

54 lines
973 B
YAML

name: CI
on:
push:
branches:
- main
- feature-next
paths-ignore:
- "*.md"
pull_request:
branches:
- main
- feature-next
paths-ignore:
- "*.md"
jobs:
ci:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
with:
version: 10
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: lts/*
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Install Chrome for Puppeteer
run: node node_modules/puppeteer/install.mjs
working-directory: packages/browser-runtime
- name: Format check
run: npm run format:check
- name: Lint
run: npm run lint
- name: Type check
run: npm run typecheck
- name: Test
run: npm run test