Skip to content

Commit 01177ce

Browse files
committed
skip size CI for test files
1 parent 6d57762 commit 01177ce

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/size.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Compressed Size
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
paths-ignore:
8+
- '**.test.js'
9+
- '**.md'
410

511
jobs:
612
build:
@@ -9,5 +15,5 @@ jobs:
915
- uses: actions/checkout@v2
1016
- uses: preactjs/[email protected]
1117
with:
12-
repo-token: "${{ secrets.GITHUB_TOKEN }}"
13-
pattern: "./dist/**/*.{js,css,json}"
18+
repo-token: '${{ secrets.GITHUB_TOKEN }}'
19+
pattern: './dist/**/*.{js,css,json}'

0 commit comments

Comments
 (0)