1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-04 16:09:59 +00:00

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

This commit is contained in:
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",