Skip to content

Commit 9b9db77

Browse files
committed
update unit test workflow
1 parent 760d652 commit 9b9db77

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/release-v1-beta-core.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: pnpm/action-setup@v4
1313
with:
14-
version: 7
14+
version: 10.28.0
1515
- uses: actions/setup-node@v4
1616
with:
1717
node-version: '22.x'
@@ -20,7 +20,7 @@ jobs:
2020
run: corepack enable
2121

2222
- name: Install pnpm
23-
run: corepack prepare pnpm@7 --activate
23+
run: corepack prepare pnpm@10.28.0 --activate
2424

2525
- name: Install root dependencies
2626
run: pnpm install

.github/workflows/unit-test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ 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: Install Dependencies (Excluding Contentstack)
26+
run: pnpm install --filter="!./packages/contentstack"
2827

29-
- name: Build all plugins
28+
- name: Build all plugins (Excluding Contentstack)
3029
run: |
31-
NODE_ENV=PREPACK_MODE npm run build
30+
pnpm run build --filter="!./packages/contentstack"
3231
3332
- name: Run tests for Contentstack Command
3433
working-directory: ./packages/contentstack-command

0 commit comments

Comments
 (0)