diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 6ce0aea..8e79f4e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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 "github-cd-bot@kinescope.io" - - 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 diff --git a/package-lock.json b/package-lock.json index 673d970..f048297 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kinescope/angular-kinescope-player", - "version": "1.0.1", + "version": "0.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@kinescope/angular-kinescope-player", - "version": "1.0.1", + "version": "0.0.0", "dependencies": { "@angular/animations": "^14.1.0", "@angular/common": "^14.1.0", diff --git a/package.json b/package.json index af7bb63..6fcafb8 100644 --- a/package.json +++ b/package.json @@ -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",