File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,21 +21,21 @@ runs:
2121 - name : Install commitlint
2222 shell : bash
2323 run : |
24- command -v commitlint || npm install --global commitlint@${{ inputs.version }}
24+ command -v commitlint || npm install --silent -- global commitlint@${{ inputs.version }}
2525 commitlint --version
2626
2727 - name : Check config
2828 shell : bash
2929 run : |
3030 CONFIG=$(commitlint --print-config --no-color)
3131
32- RULES_LENGTH=$(node << EOF
32+ RULES_LENGTH=$(node <<EOF
3333 const config = $CONFIG;
3434 console.log(Object.keys(config.rules).length);
3535 EOF)
3636
3737 if [[ $RULES_LENGTH == 0 ]]; then
38- npm install --global ${{ inputs.config }}
38+ npm install --silent -- global ${{ inputs.config }}
3939 echo '{"extends":["${{ inputs.config }}"]}' > .commitlintrc.json
4040 fi
4141
4646 - name : Cleanup
4747 shell : bash
4848 run : |
49- npm uninstall --global commitlint @commitlint/config-conventional
49+ npm uninstall --silent -- global commitlint @commitlint/config-conventional
5050 git reset --hard && git clean -d --force
5151
5252branding :
You can’t perform that action at this time.
0 commit comments