title: Mocha Parallel Jobs on Github Actions
body: <p>I Just switched to parallel tests in Mocha which works great, however, when I'm running it on github, it doesn't appear to be running in parallel. What do I need to configure in order for Mocha to run in parallel on Github Actions?</p>
  <p>.mocharc.json // Mocha 9.x</p>
  <pre><code>{
    &quot;timeout&quot;: 5000,
    &quot;recursive&quot;: true,
    &quot;ui&quot;: &quot;mocha-cakes-2&quot;,
    &quot;parallel&quot;: true,
    &quot;jobs&quot;: 4,
    &quot;checkLeaks&quot;: true,
    &quot;globals&quot;: [
      &quot;browser&quot;,
      &quot;mocha-cakes-2&quot;,
      &quot;regeneratorRuntime&quot;
    ],
    &quot;exit&quot;: true,
    &quot;require&quot;: [&quot;./test/helpers/setup.js&quot;]
  }
  </code></pre>
  <p>node.js.yml</p>
  <pre><code>name: Node.js CI
  
  on: [push]
  
  jobs:
    build:
      runs-on: ubuntu-latest
  
      strategy:
        matrix:
          node-version: [14.x]
  
      steps:
        - uses: actions/checkout@v2
  
        - name: Cache node modules
          uses: actions/cache@v2
          env:
            cache-name: cache-node-modules
          with:
            # npm cache files are stored in `~/.npm` on Linux/macOS
            path: ~/.npm
            key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
            restore-keys: |
              ${{ runner.os }}-build-${{ env.cache-name }}-
              ${{ runner.os }}-build-
              ${{ runner.os }}-
        - name: Use Node.js ${{ matrix.node-version }}
          uses: actions/setup-node@v1
          with:
            node-version: ${{ matrix.node-version }}
  
        - run: npm ci
        - run: npm run build --if-present
        - run: npm test
  </code></pre>