Skip to content

Commit 36810a1

Browse files
committed
update unit test workflow
1 parent 9b9db77 commit 36810a1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/unit-test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,18 @@ jobs:
2222
node-version: '22.x'
2323
cache: 'pnpm' # optional but recommended
2424

25+
- name: Temporarily disable contentstack package
26+
run: mv packages/contentstack/package.json packages/contentstack/package.json.disabled || true
27+
2528
- name: Install Dependencies (Excluding Contentstack)
26-
run: pnpm install --filter="!./packages/contentstack"
29+
run: npm run bootstrap
2730

2831
- name: Build all plugins (Excluding Contentstack)
2932
run: |
30-
pnpm run build --filter="!./packages/contentstack"
33+
npm run build
34+
35+
- name: Restore contentstack package
36+
run: mv packages/contentstack/package.json.disabled packages/contentstack/package.json || true
3137

3238
- name: Run tests for Contentstack Command
3339
working-directory: ./packages/contentstack-command

0 commit comments

Comments
 (0)