<commit_before>language: node_js
os: linux
cache:
  directories:
    - ~/.npm
notifications:
  email: false
node_js:
  - node
  - "lts/*"
  - "10.16.0"
  - "9.11.2"
  - "8.16.0"
  - "8.9.0"

install: npm install

stages:
  - name: lint
  - name: coverage
  - name: release
    if: branch = master && type NOT IN (pull_request)
  - name: docs
    if: branch = master && type NOT IN (pull_request)

jobs:
  include:
    - stage: lint
      script: npm run lint
    - stage: test
      script: npm test
    - stage: coverage
      script: npm run coverage
    - stage: release
      node_js: node
      deploy:
        provider: script
        cleanup: false
        script:
          - npx semantic-release
    - stage: docs
      script:
        - chmod +x ./.github/update_docs.sh
        - ./.github/update_docs.sh<commit_msg>chore: reorder stages<commit_after>language: node_js
os: linux
dist: bionic
cache: npm
notifications:
  email: false
node_js:
  - 'node'
  - 'lts/*'
  - 13
  - 12
  - 11
  - 10
  - 9
  - 8

install: npm install

stages:
  - lint
  - test
  - coverage
  - name: release
    if: branch = master && type NOT IN (pull_request)
  - name: docs
    if: branch = master && type NOT IN (pull_request)

jobs:
  include:
    - stage: lint
      script: npm run lint
    - stage: coverage
      script: npm run coverage
    - stage: release
      node_js: node
      deploy:
        provider: script
        cleanup: false
        script: npx semantic-release
    - stage: docs
      script:
        - chmod +x ./.github/update_docs.sh
        - ./.github/update_docs.sh
{'fraction_non_alphanumeric': 0.1110410094637224, 'fraction_numerical': 0.016403785488958992, 'mean_word_length': 1.8731884057971016, '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': '5576330', 'n_tokens_mistral': 586, 'n_tokens_neox': 551, 'n_words': 160}