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",