ci: run vite tests in CI

This commit is contained in:
ElevateBart
2021-04-29 09:36:57 -05:00
committed by Barthélémy Ledoux
parent 9a82d24ce1
commit 56a160b59a
2 changed files with 7 additions and 10 deletions
+7 -9
View File
@@ -1308,10 +1308,10 @@ jobs:
- run:
name: Build
command: yarn workspace @cypress/design-system build
# - run:
# name: Run tests
# command: yarn test
# working_directory: npm/design-system
- run:
name: Run tests
command: yarn test
working_directory: npm/design-system
- store-npm-logs
@@ -1919,11 +1919,9 @@ linux-workflow: &linux-workflow
- npm-webpack-dev-server:
requires:
- build
# TODO: add this back when flake with vite-electron has been resolved
# See branch `fix-branch`
# - npm-vite-dev-server:
# requires:
# - build
- npm-vite-dev-server:
requires:
- build
- npm-rollup-dev-server:
requires:
- build
-1
View File
@@ -13,7 +13,6 @@
"cy:run": "node ../../scripts/cypress.js run-ct --project ${PWD}",
"cy:run:debug": "node --inspect-brk ../../scripts/start.js --component-testing --run-project ${PWD}",
"storybook": "start-storybook -p 6006",
"pretest": "yarn transpile",
"test": "yarn cy:run",
"transpile": "tsc",
"watch": "yarn build --watch"