Skip to content

Commit

Permalink
ci: remove checks for commita
Browse files Browse the repository at this point in the history
  • Loading branch information
shhdharmen committed Dec 10, 2024
1 parent 9b63e61 commit 6576b1a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,7 @@ jobs:
HUSKY_SKIP_INSTALL: true
run: npm ci

- name: Check Conventional Commits
id: check-commits
run: |
echo "commit_message=$(git log -1 --pretty=%B)" >> $GITHUB_ENV
if [[ ! $commit_message =~ ^(docs|chore|ci)(\(.+\))?:\s.+$ ]]; then
echo "is_conventional=false" >> $GITHUB_ENV
else
echo "is_conventional=true" >> $GITHUB_ENV
fi
- name: Lint
if: env.is_conventional == 'true'
run: npm run lint -- @ngxpert/hot-toast

- name: Build library
Expand All @@ -55,7 +44,6 @@ jobs:
run: npm run build

- name: Test
if: env.is_conventional == 'true'
run: npm run test

- name: Release
Expand Down

0 comments on commit 6576b1a

Please sign in to comment.