Add continous integration

This commit is contained in:
Charles Bochet
2023-04-13 17:37:37 +02:00
parent 6fe63b430a
commit 1499c845e8
4 changed files with 484 additions and 484 deletions

892
front/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,8 @@
"eject": "react-scripts eject",
"storybook": "storybook dev -p 6006 -s public",
"build-storybook": "storybook build -s public",
"coverage": "react-scripts test --coverage --watchAll"
"coverage": "react-scripts test --coverage --watchAll",
"coverage-ci": "react-scripts test --coverage --watchAll=false"
},
"eslintConfig": {
"extends": [
@ -53,7 +54,15 @@
"jest": {
"coveragePathIgnorePatterns": [
".stories.tsx$"
]
],
"coverageThreshold": {
"global": {
"branches": 70,
"functions": 85,
"lines": 85,
"statements": 85
}
}
},
"browserslist": {
"production": [