mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-11 12:33:45 +03:00
f856e3e4bc
As per ``` npm WARN publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors. npm WARN publish errors corrected: npm WARN publish Removed invalid "scripts" npm WARN publish "bin[playwright-core]" script name was cleaned npm WARN publish "repository.url" was normalized to "git+https://github.com/microsoft/playwright.git ``` works now as per https://www.npmjs.com/package/@playwright/test/v/1.39.0-alpha-1696547902000 when you scroll down. https://github.com/microsoft/playwright/issues/22555
43 lines
901 B
YAML
43 lines
901 B
YAML
name: "components"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- release-*
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'browser_patches/**'
|
|
- 'docs/**'
|
|
branches:
|
|
- main
|
|
- release-*
|
|
|
|
env:
|
|
FORCE_COLOR: 1
|
|
ELECTRON_SKIP_BINARY_DOWNLOAD: 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: [18]
|
|
include:
|
|
- os: ubuntu-latest
|
|
node-version: 16
|
|
- os: ubuntu-latest
|
|
node-version: 20
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: npx playwright install --with-deps
|
|
- run: npm run ct
|