<commit_before>name: CI tests

on: [push]

jobs:
  build:
    env:
      RUNNING_IN_ACTIONS: yes

    runs-on: ubuntu-latest
    strategy:
      matrix:
        node-version: [14.x,16.x]
        mongodb-version: ['4.4']

    steps:
    - name: Git checkout
      uses: actions/checkout@v2

    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}

    - name: Start MongoDB
      uses: supercharge/mongodb-github-action@1.6.0
      with:
        mongodb-version: ${{ matrix.mongodb-version }}

    - run: npm install

    - run: npm run-script lint
    - run: npm run-script test-cover
    - run: npm run-script test-browser
    - run: npm run-script test-backward-compatibility
<commit_msg>SMC-734 - ci-test.yml - test Node.js 17<commit_after>name: CI tests

on: [push]

jobs:
  build:
    env:
      RUNNING_IN_ACTIONS: yes

    runs-on: ubuntu-latest
    strategy:
      matrix:
        node-version: [14.x,16.x,17.x]
        mongodb-version: ['4.4']

    steps:
    - name: Git checkout
      uses: actions/checkout@v2

    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}

    - name: Start MongoDB
      uses: supercharge/mongodb-github-action@1.6.0
      with:
        mongodb-version: ${{ matrix.mongodb-version }}

    - run: npm install

    - run: npm run-script lint
    - run: npm run-script test-cover
    - run: npm run-script test-browser
    - run: npm run-script test-backward-compatibility

{'fraction_non_alphanumeric': 0.12696417347580138, 'fraction_numerical': 0.018227529855436832, 'mean_word_length': 2.1462450592885376, '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': '2462380', 'n_tokens_mistral': 596, 'n_tokens_neox': 542, 'n_words': 124}