diff --git a/.github/workflows/commitlint.config.js b/.github/workflows/commitlint.config.js new file mode 100644 index 0000000..b29b5ae --- /dev/null +++ b/.github/workflows/commitlint.config.js @@ -0,0 +1,3 @@ +export default { + extends: ["@commitlint/config-conventional"], +}; diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml index 42305a3..121c57e 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/lint-pr.yml @@ -16,8 +16,6 @@ jobs: with: node-version: lts/* - - run: npm install -g @commitlint/config-conventional - - run: >- npx commitlint -g .github/workflows/commitlint.config.js