Browse Source

ci: enforce commitlint + skip build on tests

liyasthomas 3 years ago
parent
commit
9b5b3cc202
2 changed files with 4 additions and 1 deletions
  1. 0 1
      .github/workflows/tests.yml
  2. 4 0
      .husky/commit-msg

+ 0 - 1
.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

+ 4 - 0
.husky/commit-msg

@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+npx --no-install commitlint --edit ""