Skip to content

Commit

Permalink
fix: enforce commit linting on release
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueSCar committed Aug 18, 2024
1 parent b3acf1e commit 448c9cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 0 additions & 1 deletion commitlint.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { UserConfig } from '@commitlint/types';

const Configuration: UserConfig = {

extends: ['@commitlint/config-conventional'],
formatter: '@commitlint/format',
};
Expand Down

0 comments on commit 448c9cb

Please sign in to comment.