mirror of
https://github.com/Dokploy/cli.git
synced 2026-07-12 01:15:22 +02:00
feat: integrate Vitest for testing and update workflows
- Added Vitest as a testing framework in package.json and configured test scripts. - Created new test files for CLI and client functionalities, ensuring comprehensive coverage. - Updated GitHub Actions workflows to include testing steps and streamlined release process. - Removed the deprecated onRelease workflow to consolidate CI/CD processes.
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
"@biomejs/biome": "2.1.1",
|
||||
"@types/node": "^18",
|
||||
"tsx": "^4.21.0",
|
||||
"typescript": "^5"
|
||||
"typescript": "^5",
|
||||
"vitest": "^4.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
@@ -48,6 +49,7 @@
|
||||
"prebuild": "pnpm run generate",
|
||||
"dev": "tsx src/index.ts",
|
||||
"lint": "biome check --write .",
|
||||
"test": "vitest run",
|
||||
"publish": "npm publish"
|
||||
},
|
||||
"types": "dist/index.d.ts"
|
||||
|
||||
Reference in New Issue
Block a user