Skip to content

Commit

Permalink
ci: add test:ci command
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcath committed Jul 22, 2024
1 parent 4b6df5c commit b7fecd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
- name: 🧪 Test
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: npm test
run: npm run test:ci

build:
name: 🐳 Build
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"docker": "prisma migrate deploy && prisma generate && prisma db seed && npm run start",
"prettier": "prettier app --check --end-of-line auto",
"test": "env-cmd -f .test.env vitest",
"test:ci": "vitest",
"test:db:create": "env-cmd -f .test.env npx prisma migrate dev"
},
"dependencies": {
Expand Down

0 comments on commit b7fecd4

Please sign in to comment.