We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcdbe44 commit d702fc8Copy full SHA for d702fc8
1 file changed
action.yml
@@ -14,8 +14,16 @@ inputs:
14
runs:
15
using: 'composite'
16
steps:
17
+ - name: Cache commitlint
18
+ id: cache-commitlint
19
+ uses: actions/cache@v4
20
+ with:
21
+ path: ~/.npm
22
+ key: ${{ runner.os }}-commitlint-cache@${{ inputs.commitlint_version }}
23
+
24
- name: Installing commitlint
25
shell: bash
26
+ if: steps.cache-commitlint.outputs.cache-hit != 'true'
27
run: npm install --global commitlint@${{ inputs.commitlint_version }} @commitlint/config-conventional
28
29
- name: Validate current commit (last commit) with commitlint
0 commit comments