diff --git a/.changeset/cuddly-experts-bow.md b/.changeset/cuddly-experts-bow.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/cuddly-experts-bow.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20ac7d713c6..e0a2716cde7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,26 +38,83 @@ jobs: - uses: ./.github/actions/setup - run: yarn lint:styles - jest-react-16: + jest-react-16--1: + name: jest-react-16 runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@v3 - uses: ./.github/actions/setup - - run: yarn ci:test:react-16 + - run: yarn ci:test:react-16 --shard=1/2 - jest-react-17: + jest-react-16--2: + name: jest-react-16 runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@v3 - uses: ./.github/actions/setup - - run: yarn ci:test:react-17 + - run: yarn ci:test:react-16 --shard=2/2 - jest-react-18: + jest-react-16--aio: + name: jest-react-16 runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@v3 - uses: ./.github/actions/setup - - run: yarn ci:test + - run: yarn pkg:aio ci:test:react-16 + + jest-react-17--1: + name: jest-react-17 + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/setup + - run: yarn ci:test:react-17 --shard=1/2 + + jest-react-17--2: + name: jest-react-17 + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/setup + - run: yarn ci:test:react-17 --shard=2/2 + + jest-react-17--aio: + name: jest-react-17 + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/setup + - run: yarn pkg:aio ci:test:react-17 + + jest-react-18--1: + name: jest-react-18 + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/setup + - run: yarn test:ci --shard=1/2 + + jest-react-18--2: + name: jest-react-18 + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/setup + - run: yarn test:ci --shard=2/2 + + jest-react-18--aio: + name: jest-react-18 + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/setup + - run: yarn pkg:aio test:ci diff --git a/package.json b/package.json index 2a5b05de731..355234ca486 100644 --- a/package.json +++ b/package.json @@ -34,9 +34,8 @@ "plop": "plop", "pkg:c-library": "yarn workspace @kaizen/component-library", "pkg:aio": "yarn workspace @kaizen/components", - "ci:test": "yarn test:ci && yarn pkg:aio test:ci", - "ci:test:react-16": "USE_REACT_16=true yarn test:ci && yarn pkg:aio ci:test:react-16", - "ci:test:react-17": "USE_REACT_17=true yarn test:ci && yarn pkg:aio ci:test:react-17", + "ci:test:react-16": "USE_REACT_16=true yarn test:ci", + "ci:test:react-17": "USE_REACT_17=true yarn test:ci", "ci:version": "yarn turbo prepublish && yarn changeset version", "ci:publish": "yarn turbo prepublish && yarn changeset publish" },