Skip to content

Commit

Permalink
feat(node): allow pre-samples-test.sh hook (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwlui authored and theacodes committed Sep 24, 2018
1 parent 583cbf5 commit 6f1998f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions synthtool/gcp/templates/node_library/.kokoro/samples-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ export GCLOUD_PROJECT=long-door-651

cd $(dirname $0)/..

# Run a pre-test hook, if a pre-samples-test.sh is in the project
if [ -f .kokoro/pre-samples-test.sh ]; then
. .kokoro/pre-samples-test.sh
fi

npm install

# Install and link samples
Expand Down

0 comments on commit 6f1998f

Please sign in to comment.