11
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2026-04-04 16:56:52 +00:00

feat: upgrade commitlint to latest version

This commit is contained in:
Wagner Santos 2024-03-28 11:38:50 -03:00
parent 5ce82f5d81
commit 2ff45dc120
17 changed files with 5447 additions and 3587 deletions

View file

@ -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