<commit_before>machine:
  pre:
    - mkdir ~/.yarn-cache
  post:
    - curl -o- -L https://yarnpkg.com/install.sh | bash
    - yarn config set cache-folder ~/.yarn-cache
  node:
    version: stable
  timezone:
    Australia/Brisbane
  environment:
    NODE_ENV: 'development'

general:
  artifacts:
    - "dist/"

database:
  override:
    - echo "No database"

dependencies:
  cache_directories:
    - ~/.yarn-cache
  pre:
    - yarn global add gulp-cli
  override:
    - yarn install --pure-lockfile
  post:
    - yarn add node-sass --dev --force # Force a re-install of node-sass becuase of the binary fails

test:
  pre:
    - yarn lint:ts
    - yarn lint:scss
  override:
    - yarn test

compile:
  override:
    - yarn build

deployment:
  production:
    branch: release
    commands:
      - yarn deploy<commit_msg>feat: releaseing into sentry now too<commit_after>machine:
  node:
    version: stable
  timezone:
    Australia/Brisbane
  environment:
    NODE_ENV: 'development'
  pre:
    - mkdir ~/.yarn-cache
  post:
    - curl -o- -L https://yarnpkg.com/install.sh | bash
    - yarn config set cache-folder ~/.yarn-cache
    - curl -sL https://sentry.io/get-cli/ | bash

general:
  artifacts:
    - "dist/"

database:
  override:
    - echo "No database"

dependencies:
  cache_directories:
    - ~/.yarn-cache
  pre:
    - yarn global add gulp-cli
  override:
    - yarn install --pure-lockfile
  post:
    - yarn add node-sass --dev --force # Force a re-install of node-sass becuase of the binary fails

test:
  pre:
    - yarn lint:ts
    - yarn lint:scss
  override:
    - yarn test

compile:
  override:
    - yarn build

deployment:
  production:
    branch: release
    commands:
      - sentry-cli releases new "$CIRCLE_SHA1"
      - yarn deploy
      - sentry-cli releases finalize "$CIRCLE_SHA1"
      - sentry-cli releases deploys "$CIRCLE_SHA1" new -e prod
{'fraction_non_alphanumeric': 0.10786397449521785, 'fraction_numerical': 0.001594048884165781, 'mean_word_length': 2.2862129144851657, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '40831', 'n_tokens_mistral': 686, 'n_tokens_neox': 653, 'n_words': 181}