<commit_before>name: Prebuild

on:
  push:
    tags:
      - v*
    branches:
      - '*'
jobs:
  test:
    name: Build on ${{ matrix.os }}
    runs-on: ${{ matrix.os }}

    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]

    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js
      uses: actions/setup-node@v2
      with:
        node-version: 14.x

    - name: Setup PNPM
      uses: pnpm/action-setup@v2
      with:
        version: 6

    - name: Build and test
      run: |
        pnpm i
        pnpm test
      env:
        CI: true

    - name: prebuild
      if: ${{ !contains(matrix.os, 'windows') }}
      run: pnpm prebuild --verbose<commit_msg>ci: use node 16 for prebuild<commit_after>name: Prebuild

on:
  push:
    tags:
      - v*
    branches:
      - '*'
jobs:
  test:
    name: Build on ${{ matrix.os }}
    runs-on: ${{ matrix.os }}

    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]

    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js
      uses: actions/setup-node@v2
      with:
        node-version: 16.x

    - name: Setup PNPM
      uses: pnpm/action-setup@v2
      with:
        version: 6

    - name: Build and test
      run: |
        pnpm i
        pnpm test
      env:
        CI: true

    - name: prebuild
      if: ${{ !contains(matrix.os, 'windows') }}
      run: pnpm prebuild --verbose
{'fraction_non_alphanumeric': 0.12440516655336506, 'fraction_numerical': 0.009517335146159076, 'mean_word_length': 1.6379928315412187, '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': '3373369', 'n_tokens_mistral': 542, 'n_tokens_neox': 503, 'n_words': 130}