<commit_before>name: CI

on:
  push:
    branches:
      - master
  pull_request:

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
        node: [10.x, 12.x, 14.x, 15.x]
      fail-fast: false

    steps:
      # - name: Set git to use LF on Windows
      #   if: matrix.os == 'windows-latest'
      #   run: |
      #     git config --global core.autocrlf false
      #     git config --global core.eol lf

      - name: Checkout
        uses: actions/checkout@v2

      - name: Set node version to ${{ matrix.node }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node }}

      - name: Versions
        run: yarn versions

      - name: Install dependencies
        run: yarn install --frozen-lockfile

      - name: Check outdated dependencies
        if: github.ref == 'refs/heads/master'
        run: yarn outdated

      - name: Lint<commit_msg>Fix windows lint checking<commit_after>name: CI

on:
  push:
    branches:
      - master
  pull_request:

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
        node: [10.x, 12.x, 14.x, 15.x]
      fail-fast: false

    steps:
      - name: Set git to use LF on Windows
        if: matrix.os == 'windows-latest'
        run: |
          git config --global core.autocrlf false
          git config --global core.eol lf

      - name: Checkout
        uses: actions/checkout@v2

      - name: Set node version to ${{ matrix.node }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node }}

      - name: Versions
        run: yarn versions

      - name: Install dependencies
        run: yarn install --frozen-lockfile

      - name: Check outdated dependencies
        if: github.ref == 'refs/heads/master'
        run: yarn outdated

      - name: Lint
{'fraction_non_alphanumeric': 0.11242299794661191, 'fraction_numerical': 0.01026694045174538, 'mean_word_length': 1.7567185289957568, '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': '887357', 'n_tokens_mistral': 658, 'n_tokens_neox': 601, 'n_words': 174}