bb9c4b5582
* fix(tabs): clamp ListContainer chevron scrolling to the scrollable range (#6749) * chore(deps): bump react-aria dependencies (#6752) * chore(deps): bump tailwind-variants to v3.3.1 (#6760) * chore(docs): release note for 3.2.4 * test(react): behavioral testing infra (#6754) * fix(link): expose data-slot on link root * fix(react): put style export condition before default * test(react): behavioral testing infra and suites * chore(testing): own vitest-browser-react and clarify coverage gates * chore: remove pinned version * fix(autocomplete): prevent popover from clipping the last options (#6766) * chore(docs): update release note * fix(styles): prevent subpixel border overflow on badge (#6768) * chore(docs): update release note * fix(styles): allow backdrop click to dismiss modal with scroll outside (#6770) * chore(docs): update release note * fix(tooltip): restore exit animation when swapping between tooltips (#6772) * chore(docs): update release note --------- Co-authored-by: Tyler <56234978+runnerboy22@users.noreply.github.com> Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com>
99 lines
2.1 KiB
YAML
99 lines
2.1 KiB
YAML
name: QA
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- canary
|
|
- v3*
|
|
- "beta-*"
|
|
- "rc-*"
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout branch
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install
|
|
uses: ./.github/common-actions/install
|
|
|
|
- name: Build packages
|
|
run: pnpm build
|
|
|
|
eslint:
|
|
name: ESLint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout branch
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install
|
|
uses: ./.github/common-actions/install
|
|
|
|
- name: Run ESLint
|
|
run: pnpm lint
|
|
|
|
types:
|
|
name: TypeScript
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout branch
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install
|
|
uses: ./.github/common-actions/install
|
|
|
|
- name: Run typecheck
|
|
run: pnpm typecheck
|
|
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout branch
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install
|
|
uses: ./.github/common-actions/install
|
|
|
|
- name: Install Playwright Chromium
|
|
run: pnpm --filter @heroui/testing exec playwright install --with-deps chromium
|
|
|
|
- name: Browser tests
|
|
run: pnpm --filter @heroui/react test:browser
|
|
|
|
- name: Jsdom tests with coverage
|
|
run: pnpm test:coverage
|
|
|
|
- name: Upload coverage
|
|
if: always()
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: react-coverage
|
|
path: packages/react/coverage
|
|
if-no-files-found: ignore
|
|
|
|
continuous-release:
|
|
name: Continuous Release
|
|
if: github.repository == 'heroui-inc/heroui'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
steps:
|
|
- name: Checkout branch
|
|
uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install
|
|
uses: ./.github/common-actions/install
|
|
|
|
- name: Build packages
|
|
run: pnpm build
|
|
|
|
- name: Release
|
|
run: pnpx pkg-pr-new publish --pnpm './packages/styles' './packages/react'
|