<commit_before># This workflow will run tests using node and then publish a package to GitHub Packages
# when a commit is pushed to the 'publish' branch.

name: NPM Package Publish

on:
  push:
    branches: [ publish ]

jobs:

  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-node@v3
      with:
        node-version: '18.x'
        cache: 'npm'
        registry-url: https://registry.npmjs.org/
    - run: npm install --no-package-lock
    - run: npm run build --if-present
    - run: npm test
    - run: npm publish --tag=next
      env:
        NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}<commit_msg>cd into correct repo<commit_after># This workflow will run tests using node and then publish a package to GitHub Packages
# when a commit is pushed to the 'publish' branch.

name: NPM Package Publish

on:
  push:
    branches: [ publish ]

jobs:

  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-node@v3
      with:
        node-version: '18.x'
        cache: 'npm'
        registry-url: https://registry.npmjs.org/
    - run: cd packages/botui
    - run: npm install --no-package-lock
    - run: npm run build --if-present
    - run: npm test
    - run: npm publish --tag=next
      env:
        NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
{'fraction_non_alphanumeric': 0.1072992700729927, 'fraction_numerical': 0.00583941605839416, 'mean_word_length': 2.360294117647059, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '796134', 'n_tokens_mistral': 472, 'n_tokens_neox': 443, 'n_words': 142}