mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
ba207697c3
We used to have this historically due to bots which were running on Node.js 14. Node.js 14 was shipping NPM 7 back in the days. Now all bots are on >= Node.js 16 so we can remove this legacy code.
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
name: "stress"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- release-*
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'browser_patches/**'
|
|
- 'docs/**'
|
|
types: [ labeled ]
|
|
branches:
|
|
- main
|
|
- release-*
|
|
|
|
env:
|
|
FORCE_COLOR: 1
|
|
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
|
|
|
jobs:
|
|
test_components:
|
|
name: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: npx playwright install --with-deps
|
|
- run: npx playwright install firefox-asan
|
|
if: matrix.os != 'windows-latest'
|
|
- run: npm run stest contexts -- --project=chromium
|
|
if: always()
|
|
- run: npm run stest browsers -- --project=chromium
|
|
if: always()
|
|
- run: npm run stest contexts -- --project=webkit
|
|
if: always()
|
|
- run: npm run stest browsers -- --project=webkit
|
|
if: always()
|
|
- run: npm run stest contexts -- --project=firefox
|
|
if: always()
|
|
- run: npm run stest browsers -- --project=firefox
|
|
if: always()
|
|
- run: npm run stest heap -- --project=chromium
|
|
if: always()
|