mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2026-04-03 16:26:53 +00:00
feat: upgrade to commitlint v19
BREAKING CHANGE: `commitlint.config.js` is not supported anymore, please use `.mjs` extension
This commit is contained in:
parent
9763196e10
commit
732f0ad7d5
24 changed files with 2431 additions and 13465 deletions
|
|
@ -5,11 +5,13 @@ set -e
|
|||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH=/node_modules
|
||||
else
|
||||
export NODE_PATH=$NODE_PATH:/node_modules
|
||||
export NODE_PATH="$NODE_PATH":/node_modules
|
||||
fi
|
||||
|
||||
# Since actions/checkout can be setup with a different user ID, we need to set the workspace as safe inside this action
|
||||
# Info about the vunlerability: https://github.blog/2022-04-12-git-security-vulnerability-announced/
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
node /run.js
|
||||
export NODE_OPTIONS="$NODE_OPTIONS --experimental-vm-modules"
|
||||
|
||||
node /run.mjs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue