Skip to content

refactor: convert duelling-picklist tests to RTL #15350

refactor: convert duelling-picklist tests to RTL

refactor: convert duelling-picklist tests to RTL #15350

Workflow file for this run

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 }}