chore: add unit test to scandic web pipeline
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
[build]
|
||||
command = "yarn build"
|
||||
command = "yarn test && yarn build"
|
||||
publish = "apps/scandic-web/.next"
|
||||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF apps/scandic-web packages/common packages/trpc packages/design-system packages/typescript-config"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "yarn build"
|
||||
command = "yarn test && yarn build"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "yarn build"
|
||||
command = "yarn test && yarn build"
|
||||
|
||||
# [[plugins]]
|
||||
# package = "netlify-plugin-cypress"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"check-types": "tsc --noEmit",
|
||||
"lint": "eslint . --max-warnings 0 && tsc --noEmit",
|
||||
"lint:fix": "eslint . --fix && tsc --noEmit",
|
||||
"test": "vitest run",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest"
|
||||
},
|
||||
"exports": {
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
"lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --fix --max-warnings 0 && tsc",
|
||||
"storybook": "yarn run generate && storybook dev -p 6006",
|
||||
"build-storybook": "storybook build",
|
||||
"test": "vitest --watch=false",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest",
|
||||
"prepack": "yarn run build",
|
||||
"prepare": "husky && yarn run build",
|
||||
|
||||
Reference in New Issue
Block a user