initial commit
This commit is contained in:
10
node_modules/psl/scripts/ci-build.sh
generated
vendored
Normal file
10
node_modules/psl/scripts/ci-build.sh
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
|
||||
if [[ "$TRAVIS_EVENT_TYPE" != "cron" || "$TRAVIS_NODE_VERSION" != "12" || "$TRAVIS_BRANCH" != "master" ]]; then
|
||||
echo "Not triggered by cron. Running tests..."
|
||||
npm test
|
||||
else
|
||||
echo "Triggered by cron. Running update script..."
|
||||
npm run build && npm run commit-and-pr "chore(rules): Updates rules and dist files"
|
||||
fi
|
||||
Reference in New Issue
Block a user