<commit_before>name: test

on: [ push ]

jobs:
  test:
    container: us.gcr.io/shared-services-292705/node-git:chrome
    runs-on: self-hosted
    env:
      CI_SECRET: ${{ secrets.CI_USER_TOKEN}}
      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_BOT_URL }}
      JOBS: 1
      NODE_OPTIONS: "--max_old_space_size=4096"
    defaults:
      run:
        shell: bash
    steps:
      - name: Setup file system permissions
        run: |
          mkdir -pv $GITHUB_WORKSPACE /github /__w/_temp
      - uses: actions/checkout@v2
      - name: Update Configuration
        run: |
          git config --global url."https://".insteadOf git://
          echo -e "machine github.com\n  login $CI_SECRET" >> ~/.netrc
      - name: npm install
        run: | 
          npm install 
      - name: npm lint 
        run: |
          export PATH="${GITHUB_WORKSPACE}/node_modules/.bin:$PATH"
          npm run lint:js
      - name: npm test 
        run: |
          export PATH="${GITHUB_WORKSPACE}/node_modules/.bin:$PATH"
          npm run test -- -r=dot
  report_workflow_status:
    if: always()
    needs:
      - test
    runs-on: self-hosted
    defaults:
      run:
        shell: bash
    steps:<commit_msg>update actions to use github runners.<commit_after>name: test

on: [ push ]

jobs:
  test:
    container: circleci/node:12-browsers
    runs-on: ubuntu-latest
    env:
      CI_SECRET: ${{ secrets.CI_USER_TOKEN}}
      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_BOT_URL }}
      JOBS: 1
      NODE_OPTIONS: "--max_old_space_size=4096"
    defaults:
      run:
        shell: bash
    steps:
      - name: Setup file system permissions
        run: |
          mkdir -pv $GITHUB_WORKSPACE /github /__w/_temp
      - uses: actions/checkout@v2
      - name: Update Configuration
        run: |
          git config --global url."https://".insteadOf git://
          echo -e "machine github.com\n  login $CI_SECRET" >> ~/.netrc
      - name: npm install
        run: | 
          npm install 
      - name: npm lint 
        run: |
          export PATH="${GITHUB_WORKSPACE}/node_modules/.bin:$PATH"
          npm run lint:js
      - name: npm test 
        run: |
          export PATH="${GITHUB_WORKSPACE}/node_modules/.bin:$PATH"
          npm run test -- -r=dot
  report_workflow_status:
    if: always()
    needs:
      - test
    runs-on: ubuntu-latest
    defaults:
      run:
        shell: bash
    steps:
{'fraction_non_alphanumeric': 0.11289658014009064, 'fraction_numerical': 0.008240626287597858, 'mean_word_length': 1.8699763593380614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1848033', 'n_tokens_mistral': 860, 'n_tokens_neox': 801, 'n_words': 184}