mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-21 20:20:36 +03:00
configgure codecov
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
|||||||
flags: unit
|
flags: unit
|
||||||
files: "**/jest/coverage*.json"
|
files: "**/jest/coverage*.json"
|
||||||
- name: Run Playwright
|
- name: Run Playwright
|
||||||
run: xvfb-run npm run playwright
|
run: xvfb-run npm run playwright sizeObserver
|
||||||
- uses: codecov/codecov-action@v3
|
- uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
flags: ui
|
flags: ui
|
||||||
|
|||||||
@@ -42,13 +42,14 @@
|
|||||||
"sideEffects": ["*.css", "*.scss", "*.sass"],
|
"sideEffects": ["*.css", "*.scss", "*.sass"],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rollup -c",
|
"build": "rollup -c",
|
||||||
"test": "jest --coverage --runInBand --detectOpenHandles && playwright test",
|
"test": "jest --coverage && playwright test",
|
||||||
"jest": "jest --coverage --runInBand --detectOpenHandles --testPathPattern",
|
"jest": "jest --coverage --testPathPattern",
|
||||||
"postjest": "full-coverage",
|
"jest:node": "jest --selectProjects node --testPathPattern",
|
||||||
"jest:node": "jest --runInBand --detectOpenHandles --selectProjects node --testPathPattern",
|
"jest:jsdom": "jest --selectProjects jsdom --testPathPattern",
|
||||||
"jest:jsdom": "jest --runInBand --detectOpenHandles --selectProjects jsdom --testPathPattern",
|
|
||||||
"playwright": "playwright test",
|
"playwright": "playwright test",
|
||||||
"postplaywright": "playwright-merge-coverage && full-coverage",
|
"playwright:dev": "playwright test --workers 1 --timeout 0 --global-timeout 0",
|
||||||
"playwright:dev": "playwright test --workers 1 --timeout 0 --global-timeout 0"
|
"posttest": "playwright-merge-coverage && full-coverage",
|
||||||
|
"postjest": "full-coverage",
|
||||||
|
"postplaywright": "playwright-merge-coverage && full-coverage"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user