Skip to content

Commit 1531ef0

Browse files
committed
bugfix preview release tarballs
1 parent fe626b3 commit 1531ef0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/preview-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ jobs:
6262
run: |
6363
mkdir -p dist
6464
pnpm --filter @salesforce/b2c-cli deploy --legacy ./dist-deploy
65-
cd ./dist-deploy && npm pack --pack-destination ../dist
65+
# Copy to break hard links from pnpm's content-addressable store
66+
cp -rL ./dist-deploy ./dist-pack
67+
cd ./dist-pack && npm pack --pack-destination ../dist
6668
6769
- name: List packed files
6870
run: ls -la dist/

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
**/.DS_Store
44
/.idea
55
dist
6+
dist-deploy
67
/tmp
78
node_modules
89
/coverage

0 commit comments

Comments
 (0)