Skip to content

Commit 043cc72

Browse files
committed
update unit test workflow
1 parent 2ee916c commit 043cc72

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/unit-test.yml

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

25-
- name: Install dependencies for all plugins
26-
run: |
27-
NODE_ENV=PREPACK_MODE npm run bootstrap
25+
- name: Temporarily disable contentstack package
26+
run: mv packages/contentstack/package.json packages/contentstack/package.json.disabled || true
27+
28+
- name: Install Dependencies (Excluding Contentstack)
29+
run: npm run bootstrap
2830

29-
- name: Build all plugins
31+
- name: Build all plugins (Excluding Contentstack)
3032
run: |
31-
NODE_ENV=PREPACK_MODE npm run build
33+
npm run build
34+
35+
- name: Restore contentstack package
36+
run: mv packages/contentstack/package.json.disabled packages/contentstack/package.json || true
3237

3338
- name: Run tests for Contentstack Command
3439
working-directory: ./packages/contentstack-command

0 commit comments

Comments
 (0)