Skip to content

Commit 9103278

Browse files
authored
fix:Update playwright.yml (#440)
Adds path filter so that test only runs if samples/** is affected.
1 parent e1bbe5a commit 9103278

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ on:
2020
pull_request:
2121
branches: [ main ]
2222
types: [opened, synchronize, edited]
23+
paths:
24+
- 'samples/**'
2325
concurrency:
2426
group: test-${{ github.ref }}
2527
cancel-in-progress: true
@@ -46,4 +48,4 @@ jobs:
4648
${{ runner.os }}-playwright-
4749
- run: npm i
4850
- run: npx playwright install
49-
- run: npx playwright test
51+
- run: npx playwright test

0 commit comments

Comments
 (0)