refactor(flat-table-checkbox): convert unit tests to RTL #15102
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: pull_request | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ">=20.9.0 20" | |
- run: npm ci | |
- run: npx prettier --check './src/**/*.{js,jsx,ts,tsx}' | |
- run: npm run lint | |
- run: npm run type-check | |
test: | |
name: Test with Node ${{ matrix.node }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ["18.x", "20.x"] | |
shard: [1, 2, 3, 4] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm ci | |
- run: | | |
npm test -- --ci --maxWorkers=4 --shard=${{ matrix.shard }} --colors | |
env: | |
CONTAINER: ${{ matrix.shard }} |