<commit_before>#!/bin/sh -xe

if [ -z "$CI_BUILD_TAG" ]; then
  exit 0
fi

release/check-prerequisites.sh
export NPM_CMD="npm --no-progress --quiet"
export PATH=$PATH:$PWD/node_modules/.bin

if (which grunt); then
  echo "Already have grunt"
else
  $NPM_CMD install -g grunt-cli
fi

case $CI_BUILD_TAG in
(*-canary)<commit_msg>need to npm install for deploy as well<commit_after>#!/bin/sh -xe

if [ -z "$CI_BUILD_TAG" ]; then
  exit 0
fi

release/check-prerequisites.sh
export NPM_CMD="npm --no-progress --quiet"

export PATH=$PATH:$PWD/node_modules/.bin
$NPM_CMD install

if (which grunt); then
  echo "Already have grunt"
else
  $NPM_CMD install -g grunt-cli
fi

case $CI_BUILD_TAG in
(*-canary)
{'fraction_non_alphanumeric': 0.133428981348637, 'fraction_numerical': 0.0028694404591104736, 'mean_word_length': 4.094890510948905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7208208', 'n_tokens_mistral': 289, 'n_tokens_neox': 270, 'n_words': 76}