Skip to content

Commit e0bf7cf

Browse files
committed
fix(build): Fix doiuse check
Signed-off-by: Marcel Klehr <[email protected]>
1 parent d06c30d commit e0bf7cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
5555
- name: Static check if css is compatible with the required browsers
5656
run: |
57-
npm run doiuse | sed 's/[^:]*:|> *//' > doiuse-report.txt
57+
npm run doiuse | sed 's/[^:]*:*//' | sed 's/> *//' > doiuse-report.txt
5858
cat doiuse-report.txt
5959
diff doiuse-report.txt doiuse-report.baseline.txt || (echo 'Problem: Build includes CSS that is not compatible with the required browsers. Please check the report above!' && exit 1)
6060

doiuse-report.baseline.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
3-
> doiuse dist/js/css/*.css
2+
3+
44

55
5:4: CSS overflow property only partially supported by: Safari on iOS (15.6-15.8), QQ Browser (14.9) (css-overflow)
66
5:275: CSS overflow property only partially supported by: Safari on iOS (15.6-15.8), QQ Browser (14.9) (css-overflow)

0 commit comments

Comments
 (0)