<commit_before>name: build

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [12.19.0, 14.15.0]

    env:
      DO_COVERALLS: 14.15.0
    
    steps:
    - name: Setup Node ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}

    - name: Checkout from Git
      uses: actions/checkout@v2
      with:
        persist-credentials: false
        ssh-key: ${{ secrets.MERCATALYST_DEPLOY_KEY }}

    - name: Install ESLint and Mocha
      run: npm install -g eslint mocha

    - name: Run ESLint
      run: eslint .

    - name: Run npm install
      run: npm install

    - name: Run coverage report
      run: |-
        if [ "${{ matrix.node-version }}"x == "${DO_COVERALLS}"x ]
        then
          npm run coveralls
        else
          true<commit_msg>node-14.16.0<commit_after>name: build

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [12.19.0, 14.16.0]

    env:
      DO_COVERALLS: 14.16.0
    
    steps:
    - name: Setup Node ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}

    - name: Checkout from Git
      uses: actions/checkout@v2
      with:
        persist-credentials: false
        ssh-key: ${{ secrets.MERCATALYST_DEPLOY_KEY }}

    - name: Install ESLint and Mocha
      run: npm install -g eslint mocha

    - name: Run ESLint
      run: eslint .

    - name: Run npm install
      run: npm install

    - name: Run coverage report
      run: |-
        if [ "${{ matrix.node-version }}"x == "${DO_COVERALLS}"x ]
        then
          npm run coveralls
        else
          true
{'fraction_non_alphanumeric': 0.11627906976744186, 'fraction_numerical': 0.02212138400453772, 'mean_word_length': 1.7823343848580442, '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': '4507110', 'n_tokens_mistral': 651, 'n_tokens_neox': 592, 'n_words': 149}