FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(action): fix error on macos · remarkablemark/commitlint@3012093 · GitHub

Repository navigation

Commit 3012093

Browse files
fix(action): fix error on macos
``` Error: Cannot find module "@commitlint/config-conventional" from "/Users/runner/work/commitlint/commitlint" ```
1 parent b61f8fa commit 3012093

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
)
3737
3838
if [[ $RULES_LENGTH == 0 ]]; then
39-
npm install --silent --global ${{ inputs.config }}
39+
npm install --silent --no-save ${{ inputs.config }}
4040
echo '{"extends":["${{ inputs.config }}"]}' > .commitlintrc.json
4141
fi
4242
@@ -47,7 +47,7 @@ runs:
4747
- name: Cleanup
4848
shell: bash
4949
run: |
50-
npm uninstall --silent --global commitlint @commitlint/config-conventional
50+
npm uninstall --silent --global commitlint
5151
git reset --hard && git clean -d --force
5252
5353
branding:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL