Skip to content

Commit 5530551

Browse files
committed
more behavior changes to preview build
1 parent 27a6380 commit 5530551

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/preview-release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,13 @@ jobs:
5959
run: pnpm -r run test:unit
6060

6161
- name: Deploy and pack CLI with bundled SDK
62+
env:
63+
# Force pnpm to copy files instead of hard-linking from store
64+
npm_config_package_import_method: copy
6265
run: |
6366
mkdir -p dist
6467
pnpm --filter @salesforce/b2c-cli deploy --legacy ./dist-deploy
65-
# Generate oclif manifest while symlinks are intact
66-
cd ./dist-deploy && npx oclif manifest && cd ..
67-
# Copy to break hard links from pnpm's content-addressable store
68-
cp -rL ./dist-deploy ./dist-pack
69-
# Pack without running prepack script (manifest already generated)
70-
cd ./dist-pack && npm pack --ignore-scripts --pack-destination ../dist
68+
cd ./dist-deploy && npm pack --pack-destination ../dist
7169
7270
- name: List packed files
7371
run: ls -la dist/

0 commit comments

Comments
 (0)