From 6ee539286202f42f56953a81299e012a0423e39b Mon Sep 17 00:00:00 2001 From: wagoid <7467450+wagoid@users.noreply.github.com> Date: Thu, 15 Jul 2021 05:42:05 -0300 Subject: [PATCH] docs: use v4 on usage instructions --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 050b3cc4..be6f0d23 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 ```