Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

ci: enforce commitlint + skip build on tests

liyasthomas9b5b3cc2028b
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index cdb8184a6..d4317677d 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -22,5 +22,4 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- - run: npm run generate --if-present
- run: npm test
diff --git a/.husky/commit-msg b/.husky/commit-msg
new file mode 100755
index 000000000..fe4c17a22
--- /dev/null
+++ b/.husky/commit-msg
@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+npx --no-install commitlint --edit ""