main #2

Open
SevenOfAces wants to merge 11 commits from main into deploy
2 changed files with 6 additions and 6 deletions
Showing only changes of commit ab50b172f6 - Show all commits

View file

@ -24,8 +24,8 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Run Cypress (e2e testing)
uses: cypress-io/github-action@v6
with:
build: npm run build
start: npm start
- name: Run Unit tests
run: npm run test:unit
- name: Run E2E tests
run: npm run test:e2e

View file

@ -7,7 +7,7 @@
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"test:unit": "vitest",
"test:unit": "npm run test:unit || (if grep -q 'No tests found' ./test-output.log; then exit 0; else exit 1; fi)",
"test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
"build-only": "vite build",