Skip to content

Commit dee1cd7

Browse files
committed
Adjust script
1 parent 39ca568 commit dee1cd7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: npm run build
2626

2727
- name: Run Cypress Tests
28-
run: npm run test
28+
run: npm run test:cy
2929

3030
- name: Upload Cypress Screenshots
3131
if: always() # Run this step even if tests fail

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
"build": "tsc && vite build",
1313
"lint": "eslint ./src --report-unused-disable-directives --max-warnings 0",
1414
"preview": "vite preview",
15-
"test": "cypress run --component --browser chrome",
16-
"test:open": "cypress open --component --browser chrome",
15+
"test:vi": "vitest",
16+
"test:cy": "cypress run --component --browser chrome",
17+
"test:cy:open": "cypress open --component --browser chrome",
1718
"generate-graphql-types": "graphql-codegen --config graphql.config.yaml",
1819
"generate-graphql-types:watch": "graphql-codegen --config graphql.config.yaml --watch"
1920
},

0 commit comments

Comments
 (0)