<commit_before>name: Checks

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: 16.x
      - run: npm ci --legacy-peer-deps
      - run: npm run build
      - run: npm run test:sources -- --ci
      - uses: codecov/codecov-action@v3
        with:
          directory: ./coverage/
          fail_ci_if_error: true
          path_to_write_report: ./coverage/codecov_report.txt
  typecheck:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
      - run: npm ci
      - run: npm run test:typecheck<commit_msg>fix: upgrade to rollup v3<commit_after>name: Checks

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: 16.x
      - run: npm ci --legacy-peer-deps
      - run: npm run build
      - run: npm run test:sources -- --ci
      - uses: codecov/codecov-action@v3
        with:
          directory: ./coverage/
          fail_ci_if_error: true
          path_to_write_report: ./coverage/codecov_report.txt
  typecheck:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
      - run: npm ci --legacy-peer-deps
      - run: npm run test:typecheck
{'fraction_non_alphanumeric': 0.11222301644031452, 'fraction_numerical': 0.010721944245889922, 'mean_word_length': 1.8571428571428572, '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': '3069936', 'n_tokens_mistral': 506, 'n_tokens_neox': 485, 'n_words': 110}