Skip to content

Commit

Permalink
docs: use v4 on usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
wagoid committed Jul 15, 2021
1 parent c6ec005 commit 6ee5392
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v3
- uses: wagoid/commitlint-github-action@v4
```
Alternatively, you can run on other event types such as `on: [push]`. In that case the action will lint the push event's commit(s) instead of linting commits from a pull request. You can also combine `push` and `pull_request` together in the same workflow.
Expand Down Expand Up @@ -136,13 +136,13 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm install
# Run the commitlint action, considering its own dependencies and yours as well 🚀
# `github.workspace` is the path to your repository.
- uses: wagoid/commitlint-github-action@v3
- uses: wagoid/commitlint-github-action@v4
env:
NODE_PATH: ${{ github.workspace }}/node_modules
```
Expand Down

0 comments on commit 6ee5392

Please sign in to comment.