Skip to content

Commit

Permalink
Fix github build
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Moiseyev committed Aug 1, 2023
1 parent b7867c3 commit 75a0467
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,9 @@ jobs:
- run: npm run install:all
- run: git config --global user.name "GitHub CD bot"
- run: git config --global user.email "[email protected]"
- run: cd projects/angular-kinescope-player
# upgrade npm version in package.json to the tag used in the release.
- run: npm version ${{ github.event.release.tag_name }} --allow-same-version
- run: cd ../..
- run: cd projects/angular-kinescope-player && npm version ${{ github.event.release.tag_name }} --allow-same-version
- run: npx ng build
- run: cd dist/angular-kinescope-player
- run: npm publish --access public
- run: cd dist/angular-kinescope-player && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
# push the version changes to GitHub
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kinescope/angular-kinescope-player",
"version": "1.0.1",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"install:all": "npm ci && npm run install:angular-kinescope-player",
Expand Down

0 comments on commit 75a0467

Please sign in to comment.