mirror of
https://github.com/microsoft/playwright.git
synced 2026-09-14 14:08:10 +08:00
19ecad6cc6
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: "components"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- release-*
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'browser_patches/**'
|
|
- 'docs/**'
|
|
- 'packages/extension/**'
|
|
- 'packages/playwright-core/src/server/bidi/**'
|
|
- 'packages/playwright-core/src/tools/**'
|
|
- 'tests/bidi/**'
|
|
- 'tests/extension/**'
|
|
- 'tests/mcp/**'
|
|
branches:
|
|
- main
|
|
- release-*
|
|
|
|
env:
|
|
FORCE_COLOR: 1
|
|
|
|
jobs:
|
|
test_components:
|
|
name: ${{ matrix.os }} - Node.js ${{ matrix.node-version }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
node-version: [20]
|
|
include:
|
|
- os: ubuntu-latest
|
|
node-version: 22
|
|
- os: ubuntu-latest
|
|
node-version: 24
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: npx playwright install --with-deps
|
|
- run: npm run ct
|