Skip to content

Commit

Permalink
fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffrey Chong committed Aug 29, 2024
1 parent 54738d6 commit 15de2b5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
File renamed without changes.
19 changes: 15 additions & 4 deletions .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Unit tests (1/3)
run: pnpm turbo @kaizen/components#test:vitest:shard1
run: pnpm turbo @kaizen/components#test:vitest run -- --shard 1/4

unit-tests-2:
if: github.head_ref != 'changeset-release/main'
Expand All @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Unit tests (2/3)
run: pnpm turbo @kaizen/components#test:vitest:shard2
run: pnpm turbo @kaizen/components#test:vitest run -- --shard 2/4

unit-tests-3:
if: github.head_ref != 'changeset-release/main'
Expand All @@ -57,5 +57,16 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Unit tests (2/3)
run: pnpm turbo @kaizen/components#test:vitest:shard3
- name: Unit tests (3/3)
run: pnpm turbo @kaizen/components#test:vitest run -- --shard 3/4

unit-tests-4:
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:vitest run -- --shard 4/4
3 changes: 0 additions & 3 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
"test:jest": "FORCE_COLOR=1 jest",
"test:jest:ci": "pnpm test:jest --ci",
"test:vitest": "vitest --config ../../vite.config.ts ",
"test:vitest:shard1": "FORCE_COLOR=1 vitest run --shard=1/3",
"test:vitest:shard2": "FORCE_COLOR=1 vitest run --shard=2/3",
"test:vitest:shard3": "FORCE_COLOR=1 vitest run --shard=3/3",
"update-icons": "./src/Icon/bin/update-icons.sh",
"i18n:extract": "pnpm i18n-extract",
"clean": "rimraf 'dist' 'node_modules' '.turbo'",
Expand Down

0 comments on commit 15de2b5

Please sign in to comment.