mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
feat: Add package testing scripts and update CI workflow
Changes: - Introduced new npm scripts for testing all packages and running tests across the server. - Updated GitHub Actions workflow to include a step for running package tests. Benefits: ✅ Enhanced testing capabilities for individual packages ✅ Improved CI process with comprehensive test coverage All tests passing.
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
"test:headed": "npm run test:headed --workspace=apps/ui",
|
||||
"test:server": "npm run test --workspace=apps/server",
|
||||
"test:server:coverage": "npm run test:cov --workspace=apps/server",
|
||||
"test:packages": "npm run test -w @automaker/types -w @automaker/utils -w @automaker/prompts -w @automaker/platform -w @automaker/model-resolver -w @automaker/dependency-resolver -w @automaker/git-utils --if-present",
|
||||
"test:all": "npm run test:packages && npm run test:server",
|
||||
"lint:lockfile": "! grep -q 'git+ssh://' package-lock.json || (echo 'Error: package-lock.json contains git+ssh:// URLs. Run: git config --global url.\"https://github.com/\".insteadOf \"git@github.com:\"' && exit 1)"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user