Skip to content

fix: globals.css rule for min-h-\[750px\] classname #48

fix: globals.css rule for min-h-\[750px\] classname

fix: globals.css rule for min-h-\[750px\] classname #48

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths:
- 'packages/**'
- '.github/workflows/ci.yml'
- 'scripts/**'
- 'pnpm-lock.yaml'
- '!packages/**/README.md'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
# 1 ▸ Checkout code
- uses: actions/checkout@v4
with:
fetch-depth: 0 # required for git-diff later
# 2 ▸ Set up pnpm
- uses: pnpm/action-setup@v3
with:
version: 10.12.1
run_install: false
# 3 ▸ Node + pnpm-store cache
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
# 4 ▸ Install deps (deterministic)
- name: Install dependencies
run: pnpm install --frozen-lockfile
# 5 ▸ Playwright browser cache ────────────────
- name: Cache Playwright browsers
id: pw-cache
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-playwright-
- name: Install Playwright browsers (if cache miss)
if: steps.pw-cache.outputs.cache-hit != 'true'
run: pnpm --filter @react-zero-ui/core exec playwright install --with-deps
- name: Save Playwright cache
if: steps.pw-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
with:
path: ~/.cache/ms-playwright
key: ${{ steps.pw-cache.outputs.cache-primary-key }}
# 6 ▸ Lint fast, fail fast
- name: Lint
run: pnpm lint
# 7 ▸ Pack → inject tar-ball → run whole test suite
- name: Pack core tarball
run: pnpm run prepack:core
- name: Inject tarball into fixtures
run: node scripts/install-local-tarball.js
- name: Run Vite tests
run: pnpm test:vite
- name: Run Next.js tests
run: pnpm test:next
- name: Run unit tests
run: pnpm test:unit
- name: Run CLI tests
run: pnpm test:cli