Skip to content

Commit f47b5cf

Browse files
committed
cd: fix @mux/mux-video-ads dependency install
1 parent 01363b3 commit f47b5cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/cd-news-player.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
- name: Build
4141
run: npm run build:packages
4242

43+
# @mux/mux-video-ads is not published so we need to update the dependency version to the gitpkg url.
44+
# Do it here so we still automatically workspace symlink during development.
45+
- name: Update NPM @mux/mux-video-ads version to gitpkg url
46+
run: npm pkg set dependencies.@mux/mux-video-ads='https://gitpkg.vercel.app/muxinc/elements/packages/mux-video-ads?release-news-player' -w @mux/mux-player-react
47+
4348
- uses: fregante/setup-git-user@v2
4449
- name: Append !dist to gitignore
4550
run: echo '!dist' >> .gitignore

0 commit comments

Comments
 (0)