From 0146b3503b347dccdc6f23186a161d95270f333f Mon Sep 17 00:00:00 2001 From: Aaron Steinfeld Date: Tue, 1 Jul 2025 14:56:11 -0400 Subject: [PATCH] fix: correct publish --- .github/workflows/publish.yml | 6 +----- package.json | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 900bc69a..393f1398 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,13 +33,9 @@ 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 - # Can't seem to get it to override this for publish otherwise... - - name: Remove npmrc - shell: bash - run: rm .npmrc + - name: Publish run: npm run semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ steps.auth.outputs.access_token }} - NPM_CONFIG_REGISTRY: ${{ secrets.GAR_NPM_PUBLISH_REGISTRY }} diff --git a/package.json b/package.json index b23ba064..2375dc78 100644 --- a/package.json +++ b/package.json @@ -94,6 +94,9 @@ "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"