diff --git a/.github/workflows/feature-branches.yml b/.github/workflows/feature-branches.yml index 8120f49357..9cca6ff1f8 100644 --- a/.github/workflows/feature-branches.yml +++ b/.github/workflows/feature-branches.yml @@ -61,5 +61,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 9a34633324..3cc71ecb54 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -87,7 +87,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 7597b8ea5e..1210d7485e 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",