Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,34 +61,20 @@ jobs:
test:
needs: [install-cache-deps]
runs-on: ubuntu-latest
name: Test React 18
name: Test
steps:
- name: Checkout
uses: actions/checkout@v3

- 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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down