5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00

feat: add support for additional dependencies

This feature resolves #27
This commit is contained in:
Wagner Santos 2020-02-22 09:41:32 -03:00
parent 601b4ff681
commit 895d9f3f73

View file

@ -2,6 +2,10 @@
set -e
cd ${GITHUB_WORKSPACE}
if [ -z "$NODE_PATH" ]; then
export NODE_PATH=/node_modules
else
export NODE_PATH=$NODE_PATH:/node_modules
fi
NODE_PATH=/node_modules node /run.js
node /run.js