Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

ci: add commit linting #114

Merged
merged 3 commits into from
Feb 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ jobs:
- name: Run Lockfile Linter
run: npx lockfile-lint --path package-lock.json --type npm --allowed-hosts npm github.com --allowed-schemes 'https:' 'git+https:'

commit-lint:
name: Lint Commit Messages
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v2.0.3
with:
configFile: ./package.json

unit-tests:
name: Unit Tests
if: github.event.pull_request.draft == false
Expand Down
Loading