diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fd196d5..c9ed89a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,9 +24,11 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "lts/*" + node-version: 'lts/*' - name: Install dependencies run: yarn install --frozen-lockfile + - name: Validate current commit + run: npx commitlint --last --verbose - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/commitlint.config.ts b/commitlint.config.ts index 0e5e270..5fd96bc 100644 --- a/commitlint.config.ts +++ b/commitlint.config.ts @@ -1,7 +1,6 @@ import type { UserConfig } from '@commitlint/types'; const Configuration: UserConfig = { - extends: ['@commitlint/config-conventional'], formatter: '@commitlint/format', };