5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00
commitlint-github-action/entrypoint.sh
Wagner Santos 895d9f3f73 feat: add support for additional dependencies
This feature resolves #27
2020-02-22 09:41:32 -03:00

11 lines
147 B
Bash
Executable file

#!/bin/sh
set -e
if [ -z "$NODE_PATH" ]; then
export NODE_PATH=/node_modules
else
export NODE_PATH=$NODE_PATH:/node_modules
fi
node /run.js