Skip to content

feat(ev): 支持 browserToTerminal 开发日志 #792

feat(ev): 支持 browserToTerminal 开发日志

feat(ev): 支持 browserToTerminal 开发日志 #792

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
name: Build & Test
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
- name: Install Dependencies
run: npm install
- name: Build Core Packages
run: npx turbo build --filter="./packages/*"
- name: Build Examples and Docs
run: npx turbo build --filter="./examples/*" --filter="evjs-docs" --concurrency=2
- name: Lint & Type Check
run: npm run lint && npm run check-types
- name: Run Unit Tests
run: npm test
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
- name: Run E2E Tests
run: npm run test:e2e
- name: Upload Playwright Report
uses: actions/upload-artifact@v7
if: ${{ !cancelled() && hashFiles('e2e/playwright-report/**') != '' }}
with:
name: playwright-report
path: e2e/playwright-report/
if-no-files-found: error
retention-days: 7