Skip to content

Commit cf470ac

Browse files
committed
refactor(ci): use single test job for all packages
1 parent 177d913 commit cf470ac

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -62,38 +62,9 @@ jobs:
6262
- run: pnpm install --frozen-lockfile
6363
- run: pnpm run test:types
6464

65-
test-cli:
65+
test:
6666
runs-on: ubuntu-latest
6767
timeout-minutes: 10
68-
defaults:
69-
run:
70-
working-directory: packages/cli
71-
steps:
72-
- uses: actions/checkout@v5
73-
with:
74-
fetch-depth: 1
75-
- uses: pnpm/action-setup@v4
76-
- uses: actions/setup-node@v6
77-
with:
78-
node-version: 24
79-
- name: Get pnpm store directory
80-
id: pnpm-cache
81-
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
82-
- uses: actions/cache@v4
83-
with:
84-
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
85-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
86-
restore-keys: |
87-
${{ runner.os }}-pnpm-store-
88-
- run: pnpm install --frozen-lockfile
89-
- run: pnpm run test
90-
91-
test-toon:
92-
runs-on: ubuntu-latest
93-
timeout-minutes: 10
94-
defaults:
95-
run:
96-
working-directory: packages/toon
9768
steps:
9869
- uses: actions/checkout@v5
9970
with:

0 commit comments

Comments
 (0)