Skip to content

Commit

Permalink
unshard
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffrey Chong committed Aug 30, 2024
1 parent 0b291e5 commit f59d7b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
28 changes: 3 additions & 25 deletions .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,13 @@ on:
- "**/CHANGELOG.md" # only changesets releases touch changelogs

jobs:
unit-tests-1:
unit-tests:
if: github.head_ref != 'changeset-release/main'
name: "test-unit"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Unit tests (1/3)
run: pnpm turbo @kaizen/components#test -- run --shard 1/3

unit-tests-2:
if: github.head_ref != 'changeset-release/main'
name: "test-unit"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Unit tests (2/3)
run: pnpm turbo @kaizen/components#test -- run --shard 2/3

unit-tests-3:
if: github.head_ref != 'changeset-release/main'
name: "test-unit"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Unit tests (3/3)
run: pnpm turbo @kaizen/components#test -- run --shard 3/3
- name: Unit tests
run: pnpm test
3 changes: 0 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@
"inputs": ["src/**", "rollup.config.mjs", "tsconfig*.json"],
"outputs": ["dist/**"]
},
"@kaizen/components#test": {
"cache": false
},
"@kaizen/tailwind#build": {
"dependsOn": ["@kaizen/design-tokens#build"],
"inputs": ["src/**"],
Expand Down

0 comments on commit f59d7b8

Please sign in to comment.