Skip to content

Commit

Permalink
ci(commitlint): Modify the commitlint.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
czfadmin committed Apr 18, 2024
1 parent fa5230f commit ff07ae9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,18 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache: 'pnpm'
- name: Print versions
run: |
git --version
node --version
npm --version
pnpm --version
npx commitlint --version
- name: Install commitlint
run: |
yarn add conventional-changelog-conventionalcommits
yarn add commitlint@latest
pnpm add conventional-changelog-conventionalcommits
pnpm add commitlint@latest
- name: Validate current commit (last commit) with commitlint
if: github.event_name == 'push'
Expand Down

0 comments on commit ff07ae9

Please sign in to comment.