Skip to content

Commit 3f5cd02

Browse files
committed
copy package.json to dist before publish
1 parent 7fe697a commit 3f5cd02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ jobs:
137137
run: npm version ${{ github.event.release.tag_name }} --git-tag-version=false
138138

139139
- name: Copy package.json to build package
140-
run: cp package.json package/package
140+
run: |-
141+
cp package.json package/package
142+
cp package.json package/package/dist
141143
142144
- name: Publish release to NPM
143145
if: "!github.event.release.prerelease"

0 commit comments

Comments
 (0)