diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 393f1398..febab55d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,6 +33,10 @@ jobs: token_format: access_token workload_identity_provider: projects/1030413944741/locations/global/workloadIdentityPools/github-pool/providers/github-provider service_account: github-publisher@hypertrace-repos.iam.gserviceaccount.com + # Ref https://github.com/semantic-release/npm/pull/844 + - name: Update npmrc for publish + shell: bash + run: npm config -L project @hypertrace:registry ${{ secrets.GAR_NPM_PUBLISH_REGISTRY }} - name: Publish run: npm run semantic-release diff --git a/package.json b/package.json index 2375dc78..b23ba064 100644 --- a/package.json +++ b/package.json @@ -94,9 +94,6 @@ "type": "git", "url": "git@github.com:hypertrace/hyperdash-angular.git" }, - "publishConfig": { - "@hypertrace:registry": "https://us-npm.pkg.dev/hypertrace-repos/npm-publish" - }, "release": { "branches": [ "main"