chore: run unit tests in watch mode by default (#2525)

zio/stable
Sebastian Di Luzio 2023-12-22 22:50:59 +01:00 committed by GitHub
parent 07042b9f31
commit b7c22287d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,7 @@ jobs:
run: pnpm nuxi prepare
- name: 🧪 Test project
run: pnpm test
run: pnpm test:ci
- name: 📝 Lint
run: pnpm lint

View File

@ -20,8 +20,10 @@
"prepare": "ignore-dependency-scripts \"tsx scripts/prepare.ts\"",
"generate": "nuxi generate",
"test:unit": "stale-dep && vitest",
"test:unit:ci": "stale-dep && vitest run",
"test:typecheck": "stale-dep && vue-tsc --noEmit && vue-tsc --noEmit --project service-worker/tsconfig.json",
"test": "nr test:unit",
"test:ci": "nr test:unit:ci",
"update:team:avatars": "tsx scripts/avatars.ts",
"cleanup-translations": "tsx scripts/cleanup-translations.ts",
"prepare-translation-status": "tsx scripts/prepare-translation-status.ts",