Skip to content

Commit

Permalink
fixup! chore(ci): conventionalcommit linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchini committed Aug 20, 2020
1 parent e5454c4 commit bdfc2e9
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ on:
pull_request:

jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js v12
uses: actions/setup-node@v1
with:
node-version: v12
- run: npm install
- run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }}
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 100
- uses: wagoid/commitlint-github-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bdfc2e9

Please sign in to comment.