Skip to content

Commit

Permalink
fixup! fixup! feat(CSN-506): Add commitlint workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanAnishchuk committed Feb 3, 2025
1 parent 85ce628 commit 363ad30
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ jobs:
fetch-depth: 0
- name: Install required dependencies
run: |
sudo apt install -y git curl
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo DEBIAN_FRONTEND=noninteractive apt install -y nodejs
sudo apt-get install -y nodejs npm
- name: Print versions
run: |
git --version
Expand All @@ -22,8 +20,7 @@ jobs:
npx commitlint --version
- name: Install commitlint
run: |
npm install conventional-changelog-conventionalcommits
npm install commitlint@latest
npm install --save-dev @commitlint/config-conventional @commitlint/cli
- name: Validate current commit (last commit) with commitlint
if: github.event_name == 'push'
Expand Down

0 comments on commit 363ad30

Please sign in to comment.