forked from microsoft/playwright
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (48 loc) · 1.27 KB
/
tests_extension.yml
File metadata and controls
52 lines (48 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: extension
on:
push:
branches:
- main
- release-*
paths:
- 'packages/playwright-core/src/tools/**'
- '!packages/playwright-core/src/tools/dashboard/**'
- '!packages/playwright-core/src/tools/trace/**'
- 'packages/extension/**'
- 'tests/extension/**'
- '.github/workflows/tests_extension.yml'
pull_request:
branches:
- main
- release-*
paths:
- 'packages/playwright-core/src/tools/**'
- '!packages/playwright-core/src/tools/dashboard/**'
- '!packages/playwright-core/src/tools/trace/**'
- 'packages/extension/**'
- 'tests/extension/**'
- '.github/workflows/tests_extension.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
FORCE_COLOR: 1
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
DEBUG: pw:mcp:error
jobs:
test_extension:
name: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
- run: npm ci
- run: npm run build
- run: npx playwright install --with-deps chromium
- run: npm run test-extension