Skip to content

Commit a772c50

Browse files
Workflow file added
1 parent 05cd0bb commit a772c50

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/unit-test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,9 @@ jobs:
1616
with:
1717
node-version: '22.x'
1818

19-
- name: Install pnpm
20-
run: npm install -g pnpm@^7.33.7
21-
2219
- name: Install dependencies for all plugins
2320
run: |
24-
# Remove lock files to ensure fresh install with updated versions
25-
rm -f package-lock.json pnpm-lock.yaml
26-
# Use pnpm directly to properly handle workspace packages (including local @contentstack/cli-variants)
27-
NODE_ENV=PREPACK_MODE pnpm install --no-frozen-lockfile && pnpm package-lock-only && pnpm clean && pnpm install --no-frozen-lockfile && pnpm prepack
21+
NODE_ENV=PREPACK_MODE npm run setup-repo-old
2822
2923
- name: Run tests for Contentstack Command
3024
working-directory: ./packages/contentstack-command
@@ -110,4 +104,4 @@ jobs:
110104
# else
111105
# echo "contentstack-audit has not changed. Skipping tests."
112106
# fi
113-
# done
107+
# done

0 commit comments

Comments
 (0)