From b8f1d61289d6598e483dc5c19c3379310f2b2c72 Mon Sep 17 00:00:00 2001 From: Maciej Jastrzebski Date: Wed, 20 Sep 2023 14:56:26 +0200 Subject: [PATCH] chore: disable React 17 tests on CI as they didn't work anyway --- .github/workflows/main.yml | 18 ++---------------- package.json | 2 +- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 40a197898..7772dcf6d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,7 +61,7 @@ jobs: test: needs: [install-cache-deps] runs-on: ubuntu-latest - name: Test React 18 + name: Test steps: - name: Checkout uses: actions/checkout@v3 @@ -69,26 +69,12 @@ jobs: - name: Setup Node.js and deps uses: ./.github/actions/setup-deps - - name: Test React 18 + - name: Test run: yarn test:ci - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - test-react-17: - needs: [install-cache-deps] - runs-on: ubuntu-latest - name: Test React 17 - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup Node.js and deps - uses: ./.github/actions/setup-deps - - - name: Test React 17 - run: yarn test:ci:react:17 - test-website: runs-on: ubuntu-latest name: Test Website diff --git a/package.json b/package.json index 16ecf9c82..7d46172ff 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "clean": "del build", "test": "jest", "test:ci": "jest --maxWorkers=2 --collectCoverage=true --coverage-provider=v8", - "test:ci:react:17": "scripts/test_react_17", + "test:react-17": "scripts/test_react_17", "typecheck": "tsc", "flow": "flow", "copy-flowtypes": "cp typings/index.flow.js build",