File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments