Skip to content

Commit

Permalink
ci(script): commit checks using incremental tests (vrn-deco#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cphayim authored Apr 3, 2022
1 parent 9051289 commit ac16e9a
Show file tree
Hide file tree
Showing 3 changed files with 258 additions and 252 deletions.
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
echo "🛠🛠🛠 run lint-staged"
pnpm lint-staged

echo "🛠🛠🛠 run test"
pnpm test:unit
echo "🛠🛠🛠 run incremental test"
pnpm test:unit:changed
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"clean:deps": "esmo scripts/clean.ts --deps",
"build": "esmo scripts/build.ts --no-cache",
"test:unit": "esmo scripts/test.ts",
"test:unit:changed": "esmo scripts/test.ts --changed main",
"test:coverage": "esmo scripts/test.ts --coverage",
"lint": "eslint packages/*/src/**.ts",
"format": "prettier --write --parser typescript \"packages/**/*.ts\"",
Expand All @@ -39,28 +40,28 @@
]
},
"devDependencies": {
"@changesets/cli": "^2.21.1",
"@changesets/cli": "^2.22.0",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@ombro/logger": "^1.5.5",
"@ombro/ts-config": "^1.4.0",
"@types/fs-extra": "^9.0.13",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"@vitest/ui": "^0.7.6",
"@types/node": "^17.0.23",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"@vitest/ui": "^0.7.13",
"c8": "^7.11.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.11.0",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"esno": "^0.14.1",
"execa": "^6.1.0",
"husky": "^6.0.0",
"lint-staged": "^11.2.6",
"prettier": "^2.6.0",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"typescript": "^4.6.2",
"vitest": "^0.7.12"
"typescript": "^4.6.3",
"vitest": "^0.8.4"
}
}
Loading

0 comments on commit ac16e9a

Please sign in to comment.