Skip to content

Commit 0677757

Browse files
committed
chore(workflow): copy README.md to video-player package before publishing to NPM
1 parent 3cda780 commit 0677757

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
7272
- name: Publish to NPM
7373
run: |
74+
cp README.md packages/video-player/
7475
cd packages/video-player
7576
7677
# Publish with the specified tag
@@ -80,6 +81,7 @@ jobs:
8081

8182
- name: Output published version
8283
run: |
84+
cp README.md packages/video-player/
8385
cd packages/video-player
8486
PUBLISHED_VERSION=$(node -p "require('./package.json').version")
8587
echo "✅ Published @imagekit/video-player@${PUBLISHED_VERSION} with tag: ${{ steps.npm-tag.outputs.tag }}"

0 commit comments

Comments
 (0)