Skip to content

Commit

Permalink
feat: add support for additional dependencies
Browse files Browse the repository at this point in the history
This feature resolves #27
  • Loading branch information
wagoid committed Feb 22, 2020
1 parent 601b4ff commit 895d9f3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 895d9f3

Please sign in to comment.