diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 832ff1b5fe8d..64f4b42fb824 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,6 +80,12 @@ jobs: yarn carbon-cli check --ignore '**/@(node_modules|examples|components|react|fixtures|compat)/**' 'packages/**/*.scss' - name: Run tests run: yarn test --ci + - name: Upload coverage reports to Codecov with GitHub Action + uses: codecov/codecov-action@v4.2.0 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + with: + flags: jest-components e2e: name: 'test:e2e' @@ -247,22 +253,3 @@ jobs: - name: Check AVT Runner job status if: ${{ needs.avt-runner.result != 'success' }} run: exit 1 - - build: - runs-on: ubuntu-latest - name: Test JS frontend - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v2 - with: - node-version: '20' - - name: Install requirements - run: yarn install - - name: Run tests and collect coverage - run: yarn test - - name: Upload coverage reports to Codecov with GitHub Action - uses: codecov/codecov-action@v4.2.0 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - with: - flags: jest-components