From 828c6621e23cad443dec7c4f332875c1e4cdb3c7 Mon Sep 17 00:00:00 2001 From: guidari Date: Thu, 22 Aug 2024 09:54:26 -0300 Subject: [PATCH] fix: removed wrong file --- .github/workflows/ci.yml | 23 +++++++++++++++++++++ .github/workflows/codecov-components.yml | 26 ------------------------ 2 files changed, 23 insertions(+), 26 deletions(-) delete mode 100644 .github/workflows/codecov-components.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 441a74c59b55..872ed81eb6b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -247,3 +247,26 @@ jobs: - name: Check AVT Runner job status if: ${{ needs.avt-runner.result != 'success' }} run: exit 1 + +jobs: + build: + runs-on: ubuntu-latest + name: Test JS frontend + defaults: + run: + working-directory: ./packages/react/src/components + 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 diff --git a/.github/workflows/codecov-components.yml b/.github/workflows/codecov-components.yml deleted file mode 100644 index 1c9eacdbeb88..000000000000 --- a/.github/workflows/codecov-components.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Jest components - -on: [push, pull_request] - -jobs: - build: - runs-on: ubuntu-latest - name: Test JS frontend - defaults: - run: - working-directory: ./packages/react/src/components - 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 --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