<commit_before>---
################################################################################
# Template - Node CI
#
# Description:
#   This contains the basic information to: install dependencies, run tests,
#   get coverage, and run linting on a nodejs project. This template will run
#   over the MxN matrix of all operating systems, and all current LTS versions
#   of NodeJS.
#
# Dependencies:
#   This template assumes that your project is using the `tap` module for
#   testing. If you're not using this module, then the step that runs your
#   coverage will need to be adjusted.
#
################################################################################
name: Node CI

on: [push, pull_request]

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        node-version: [10.x, 12.x, 13.x]
        os: [ubuntu-latest, windows-latest, macOS-latest]

    runs-on: ${{ matrix.os }}

    steps:
      # Checkout the repository
      - uses: actions/checkout@v2
        # Installs the specific version of Node.js
      - name: Use Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node-version }}

      - name: use latest npm
        run: npm i -g npm@latest

      ################################################################################
      # Install Dependencies
      #
      #   ASSUMPTIONS:
      #     - The project has a package-lock.json file
      #
      #   Simply run the tests for the project.
      ################################################################################
      - name: Install dependencies
        run: npm ci

      ################################################################################
      # Run Testing
      #
      #   ASSUMPTIONS:
      #     - The project has `tap` as a devDependency
      #     - There is a script called "test" in the package.json
      #
      #   Simply run the tests for the project.
      ################################################################################
      - name: Run tests
        run: npm test -- --no-coverage

      ################################################################################
      # Run coverage check
      #
      #   ASSUMPTIONS:
      #     - The project has `tap` as a devDependency
      #     - There is a script called "coverage" in the package.json
      #
      #   Coverage should only be posted once, we are choosing the latest LTS of
      #   node, and ubuntu as the matrix point to post coverage from. We limit
      #   to the 'push' event so that coverage ins't posted twice from the
      #   pull-request event, and push event (line 3).
      ################################################################################
      - name: Run coverage report
        if: github.event_name == 'push' && matrix.node-version == '12.x' && matrix.os == 'ubuntu-latest'
        run: npm test
        env:
          # The environment variable name is leveraged by `tap`
          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}<commit_msg>chore(ci): update node versions tested<commit_after>---
################################################################################
# Template - Node CI
#
# Description:
#   This contains the basic information to: install dependencies, run tests,
#   get coverage, and run linting on a nodejs project. This template will run
#   over the MxN matrix of all operating systems, and all current LTS versions
#   of NodeJS.
#
# Dependencies:
#   This template assumes that your project is using the `tap` module for
#   testing. If you're not using this module, then the step that runs your
#   coverage will need to be adjusted.
#
################################################################################
name: Node CI

on: [push, pull_request]

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        node-version: [10.1.x, 10.x, 12.0.x, 12.x, 14.0.x, 14.x, 16.0.x, 16.x]
        os: [ubuntu-latest, windows-latest, macOS-latest]

    runs-on: ${{ matrix.os }}

    steps:
      # Checkout the repository
      - uses: actions/checkout@v2
        # Installs the specific version of Node.js
      - name: Use Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node-version }}

      - name: use latest npm
        run: npm i -g npm@latest

      ################################################################################
      # Install Dependencies
      #
      #   ASSUMPTIONS:
      #     - The project has a package-lock.json file
      #
      #   Simply run the tests for the project.
      ################################################################################
      - name: Install dependencies
        run: npm ci

      ################################################################################
      # Run Testing
      #
      #   ASSUMPTIONS:
      #     - The project has `tap` as a devDependency
      #     - There is a script called "test" in the package.json
      #
      #   Simply run the tests for the project.
      ################################################################################
      - name: Run tests
        if: github.event_name != 'push' || matrix.node-version != '12.x' || matrix.os != 'ubuntu-latest'
        run: npm test -- --no-coverage

      ################################################################################
      # Run coverage check
      #
      #   ASSUMPTIONS:
      #     - The project has `tap` as a devDependency
      #     - There is a script called "coverage" in the package.json
      #
      #   Coverage should only be posted once, we are choosing the latest LTS of
      #   node, and ubuntu as the matrix point to post coverage from. We limit
      #   to the 'push' event so that coverage ins't posted twice from the
      #   pull-request event, and push event (line 3).
      ################################################################################
      - name: Run coverage report
        if: github.event_name == 'push' && matrix.node-version == '12.x' && matrix.os == 'ubuntu-latest'
        run: npm test
        env:
          # The environment variable name is leveraged by `tap`
          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
{'fraction_non_alphanumeric': 0.2739553879987433, 'fraction_numerical': 0.0059692114357524344, 'mean_word_length': 2.7563421828908554, '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': '4518847', 'n_tokens_mistral': 1704, 'n_tokens_neox': 1551, 'n_words': 560}