<commit_before>name: Pull Requests

on:
  pull_request:
    branches: [ main ]

jobs:
  gulp:
    name: Gulp
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 1
    - uses: actions/setup-node@v2.4.1
      with:
        node-version: '12.x'
    - run: npm install
    - run: npm run build

  lint:
    name: NPM lint
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 1
    - uses: actions/setup-node@v2.4.1
      with:
        node-version: '12.x'
    - run: npm install
    - run: npm run lint

  test:
    name: Perl unit tests
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 50
    
    - uses: actions/setup-node@v2.4.1
      with:
        node-version: '12.x'
    
    - run: npm install
    
    - name: find changed perl files
      uses: futuratrepadeira/changed-files@v3.3.0
      id: changed-perl
      with:<commit_msg>Where Open Food Facts is broken by the Unami test (#5946)<commit_after>name: Pull Requests

on:
  pull_request:
    branches: [ main ]

jobs:
  gulp:
    name: Gulp
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 1
    - uses: actions/setup-node@v2.4.1
      with:
        node-version: '12.x'
    - run: npm install
    - run: npm run build

  lint:
    name: NPM lint
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 1
    - uses: actions/setup-node@v2.4.1
      with:
        node-version: '12.x'
    - run: npm install
    - run: npm run lint

  test:
    name: Perl unit tests
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 50
    
    - uses: actions/setup-node@v2.4.1
      with:
        node-version: '12.x'
    
    - run: npm install
    
    - name: find changed perl files
      uses: umani/changed-files@v3.3.0
      id: changed-perl
      with:
{'fraction_non_alphanumeric': 0.10978638847491307, 'fraction_numerical': 0.026825633383010434, 'mean_word_length': 1.7327001356852103, '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': '3084049', 'n_tokens_mistral': 780, 'n_tokens_neox': 733, 'n_words': 181}