Skip to content

Commit 6b0828e

Browse files
authored
Update update-embedded-player.yml
1 parent 21b828f commit 6b0828e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-embedded-player.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
working-directory: ./embedded-player
2020
run: |
2121
OLD_EMBEDDED_PLAYER_VERSION=$(node -p "require('./package.json').dependencies['@antmedia/web_player']")
22-
npm install --save @antmedia/web_player@latest
22+
npm install --save @antmedia/web_player@latest || { echo 'npm install failed' ; exit 1; }
2323
NEW_EMBEDDED_PLAYER_VERSION=$(node -p "require('./package.json').dependencies['@antmedia/web_player']")
2424
echo "OLD_EMBEDDED_PLAYER_VERSION=$OLD_EMBEDDED_PLAYER_VERSION" >> $GITHUB_ENV
2525
echo "NEW_EMBEDDED_PLAYER_VERSION=$NEW_EMBEDDED_PLAYER_VERSION" >> $GITHUB_ENV

0 commit comments

Comments
 (0)