<commit_before>on:

  push:
    branches:
    - "**"

  pull_request:
    branches:
    - "**"

jobs:

  test:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version:
        - 12.x
        - 14.x
        - 16.x

    steps:

    - name: checkout
      uses: actions/checkout@v3

    - name: install NodeJS ${{ matrix.node-version }}
      uses: actions/setup-node@v3
      with:
        node-version: ${{ matrix.node-version }}

    - name: install NPM dependencies
      run: npm install

    - name: run tests
      run: node test

    - name: compute coverage
      if: matrix.node-version == '16.x'
      run: npm run coverage_lcov
<commit_msg>ci: adds node version 17.x in preparation for imminent 18.x<commit_after>on:

  push:
    branches:
    - "**"

  pull_request:
    branches:
    - "**"

jobs:

  test:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version:
        - 12.x
        - 14.x
        - 16.x
        - 17.x

    steps:

    - name: checkout
      uses: actions/checkout@v3

    - name: install NodeJS ${{ matrix.node-version }}
      uses: actions/setup-node@v3
      with:
        node-version: ${{ matrix.node-version }}

    - name: install NPM dependencies
      run: npm install

    - name: run tests
      run: node test

    - name: compute coverage
      if: matrix.node-version == '16.x'
      run: npm run coverage_lcov

{'fraction_non_alphanumeric': 0.11617961511047754, 'fraction_numerical': 0.018531717747683536, 'mean_word_length': 1.6793893129770991, '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': '2101842', 'n_tokens_mistral': 511, 'n_tokens_neox': 458, 'n_words': 114}