<commit_before>name: Node.js package

on:
  pull_request:
    branches:
      - master
  push:
    branches:
      - master

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [
          ubuntu-latest,
          macos-latest,
        ]
        node: [
          8,
          10,
          12,
          13,
        ]
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node }}
      - name: Install dependencies
        run: |
          if [ ${{ matrix.os }} = ubuntu-latest ]; then
            sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
            sudo apt -qq update
            sudo apt install -y g++-4.8
          fi
      - name: Run integration tests
        run: |
          if [ ${{ matrix.os }} = macos-latest -a ${{ matrix.node }} = 6 ]; then
            # Mac bindings will currently not build on Node 6
            exit 0
          fi
          if [ ${{ matrix.os }} = ubuntu-latest ]; then<commit_msg>bump actions/checkout to v2<commit_after>name: Node.js package

on:
  pull_request:
    branches:
      - master
  push:
    branches:
      - master

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [
          ubuntu-latest,
          macos-latest,
        ]
        node: [
          8,
          10,
          12,
          13,
        ]
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node }}
      - name: Install dependencies
        run: |
          if [ ${{ matrix.os }} = ubuntu-latest ]; then
            sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
            sudo apt -qq update
            sudo apt install -y g++-4.8
          fi
      - name: Run integration tests
        run: |
          if [ ${{ matrix.os }} = macos-latest -a ${{ matrix.node }} = 6 ]; then
            # Mac bindings will currently not build on Node 6
            exit 0
          fi
          if [ ${{ matrix.os }} = ubuntu-latest ]; then
{'fraction_non_alphanumeric': 0.11498091603053436, 'fraction_numerical': 0.01383587786259542, 'mean_word_length': 1.28680479825518, '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': '2115310', 'n_tokens_mistral': 665, 'n_tokens_neox': 622, 'n_words': 166}