diff --git a/.github/workflows/cypress-testing.yml b/.github/workflows/cypress-testing.yml deleted file mode 100644 index 1cf9d5a..0000000 --- a/.github/workflows/cypress-testing.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Run Cypress testing suite -on: - workflow_dispatch: - pull_request: - types: [opened, synchronize] - -jobs: - cypress-run: - runs-on: ubuntu-latest - steps: - - uses: actions/setup-node@v4 - with: - node-version: 20.10.0 - - name: Checkout - uses: actions/checkout@v4 - - name: Cypress run - uses: cypress-io/github-action@v6 - with: - build: yarn run build - start: yarn start - env: - CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/upload-artifact@v4 - if: failure() - with: - name: cypress-screenshots - path: cypress/screenshots - if-no-files-found: ignore - - uses: actions/upload-artifact@v4 - if: failure() - with: - name: cypress-videos - path: cypress/videos - if-no-files-found: ignore diff --git a/.github/workflows/jest-testing.yml b/.github/workflows/jest-testing.yml deleted file mode 100644 index a7e36fa..0000000 --- a/.github/workflows/jest-testing.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Run Jest testing suite -on: - workflow_dispatch: - pull_request_target: - types: [opened, synchronize] - -env: - NODE_ENV: "test" - -jobs: - testing: - permissions: write-all - runs-on: ubuntu-latest - steps: - - uses: actions/setup-node@v4 - with: - node-version: "20.10.0" - - uses: actions/checkout@master - with: - fetch-depth: 0 - - name: Build & Run test suite - run: | - yarn - yarn test | tee ./coverage.txt && exit ${PIPESTATUS[0]} - - name: Jest Coverage Comment - # Ensures this step is run even on previous step failure (e.g. test failed) - if: always() - uses: MishaKav/jest-coverage-comment@main - with: - coverage-summary-path: coverage/coverage-summary.json - junitxml-path: junit.xml - junitxml-title: JUnit - coverage-path: ./coverage.txt