Skip to content

Commit f63a6c1

Browse files
committed
fix: Correctly update the shrinkwrap
1 parent 24f2e73 commit f63a6c1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release-please.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,16 @@ jobs:
7676
echo "📦 Installing production dependencies for CLI"
7777
npm ci --omit=dev
7878
- name: Generate npm-shrinkwrap.json (prod only)
79-
working-directory: packages/cli
8079
run: |
8180
echo "🔒 Creating npm-shrinkwrap.json without devDependencies"
81+
# Create temporary directory outside workspace for shrinkwrap generation
82+
mkdir -p /tmp/cli-shrinkwrap
83+
cp -r packages/cli/* /tmp/cli-shrinkwrap/
84+
cd /tmp/cli-shrinkwrap
8285
rm -f npm-shrinkwrap.json
8386
npm shrinkwrap
87+
# Copy shrinkwrap back to CLI package
88+
cp npm-shrinkwrap.json ${{ github.workspace }}/packages/cli/
8489
echo "✅ npm-shrinkwrap.json generated"
8590
- name: Publish @ui5/cli
8691
working-directory: packages/cli

0 commit comments

Comments
 (0)