<commit_before>name: node.js

on:
  push:
    branches: [master]
  pull_request:
    branches: [master]

env:
  FORCE_COLOR: 1
  PRINT_OFFLINE_OUTPUT: 1

jobs:
  build:
    name: '[${{ matrix.os }}] node.js v${{ matrix.node-version }}'
    runs-on: ${{ matrix.os }}

    strategy:
      fail-fast: false
      matrix:
        os: [macos-latest, ubuntu-latest, windows-latest]
        node-version: [14, 16, 18]

    steps:
      - uses: actions/checkout@v3

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

      - uses: actions/setup-go@v3
        with:
          go-version: '1'

      - uses: actions/setup-java@v3
        with:
          distribution: 'temurin'
          java-version: '8'

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: '2.7'

      - run: npm ci

      - run: npm run prettier

      - run: npm run lint

      - run: npm test<commit_msg>ci: setup python (#1565)<commit_after>name: node.js

on:
  push:
    branches: [master]
  pull_request:
    branches: [master]

env:
  FORCE_COLOR: 1
  PRINT_OFFLINE_OUTPUT: 1

jobs:
  build:
    name: '[${{ matrix.os }}] node.js v${{ matrix.node-version }}'
    runs-on: ${{ matrix.os }}

    strategy:
      fail-fast: false
      matrix:
        os: [macos-latest, ubuntu-latest, windows-latest]
        node-version: [14, 16, 18]

    steps:
      - uses: actions/checkout@v3

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

      - uses: actions/setup-go@v3
        with:
          go-version: '1'

      - uses: actions/setup-java@v3
        with:
          distribution: 'temurin'
          java-version: '8'

      - uses: actions/setup-python@v4
        with:
          python-version: '3.9'

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: '2.7'

      - run: npm ci

      - run: npm run prettier

      - run: npm run lint

      - run: npm test
{'fraction_non_alphanumeric': 0.13715110683349374, 'fraction_numerical': 0.01973051010587103, 'mean_word_length': 1.7794117647058822, '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': '3800944', 'n_tokens_mistral': 774, 'n_tokens_neox': 712, 'n_words': 163}