diff --git a/.github/workflows/feature-branches.yml b/.github/workflows/feature-branches.yml index 5c4eb3da9..cc879316b 100644 --- a/.github/workflows/feature-branches.yml +++ b/.github/workflows/feature-branches.yml @@ -64,5 +64,6 @@ jobs: if: github.event_name == 'workflow_dispatch' run: | pnpm install --production - pnpm publishall --no-git-checks + echo '//npm.coremedia.io/:_authToken=${NPM_AUTH_TOKEN}' > .npmrc + pnpm publishall -- --registry=https://npm.coremedia.io --no-git-checks diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7343bd95a..67bca0756 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,7 +90,9 @@ jobs: - name: Publish if: github.ref == 'refs/heads/main' run: | - pnpm publishall --no-git-checks + echo '//npm.coremedia.io/:_authToken=${NPM_AUTH_TOKEN}' > .npmrc + pnpm publishall -- --registry=https://npm.coremedia.io + git reset --hard # MAIN ONLY # Set next prerelease version to prepare for next build. # This ensures that we do not build one release number twice (for not getting conflicts in our repository) diff --git a/package.json b/package.json index 7597b8ea5..1210d7485 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ ], "scripts": { "bootstrap": "pnpm install", - "publishall": "pnpm -r publish --no-git-checks", + "publishall": "pnpm -r publish", "setversion": "set-version", "clean": "pnpm -r clean && rimraf ./dist", "build": "pnpm -r build",