Skip to content

Commit 2ecb9fd

Browse files
committed
Added pre-push verification
1 parent 7dc87c0 commit 2ecb9fd

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.husky/pre-push

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm test

package-lock.json

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"format": "eslint --fix . && prettier --write .",
1313
"generate": "vite-node generate.ts",
1414
"lint": "eslint . && prettier --check .",
15+
"prepare": "husky",
1516
"preview": "npm run build && astro preview --open --port 8080",
1617
"profiles": "vite-node profiles/build.ts",
1718
"start": "astro dev --open --port 8080",
@@ -33,6 +34,7 @@
3334
"eslint-plugin-astro": "1.2.2",
3435
"fs-extra": "11.2.0",
3536
"glob": "10.4.2",
37+
"husky": "9.1.6",
3638
"js-yaml": "4.1.0",
3739
"npm-check-updates": "16.14.20",
3840
"prettier": "3.3.2",

0 commit comments

Comments
 (0)