<commit_before>name: Node.js CI

on: [push]

jobs:
  build:
    defaults:
      run:
        working-directory: web-app/client

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [12.18]

    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}
    - run: npm install
    - run: npm run build --if-present
    - run: npm test
      env:
        CI: true

    - name: Deploy 🚀
        uses: JamesIves/github-pages-deploy-action@3.6.2
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
          FOLDER: dist # The folder the action should deploy.
          CLEAN: true # Automatically remove deleted files from the deploy branch
<commit_msg>Try to use github action to commit (deploy) github token<commit_after>name: Node.js CI

on: [push]

jobs:
  build:
    defaults:
      run:
        working-directory: web-app/client

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [12.18]

    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}
    - name: install
      run: npm install
    - name: build
      run: npm run build --if-present
    - name: test
      run: npm test
      env:
        CI: true
    - name: Deploy 🚀
      uses: JamesIves/github-pages-deploy-action@3.6.2
      with:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        BRANCH: gh-pages # The branch the action should deploy to.
        FOLDER: build # The folder the action should deploy.
        CLEAN: true # Automatically remove deleted files from the deploy branch

{'fraction_non_alphanumeric': 0.10606060606060606, 'fraction_numerical': 0.010101010101010102, 'mean_word_length': 2.027164685908319, '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': '2738611', 'n_tokens_mistral': 593, 'n_tokens_neox': 563, 'n_words': 162}