From f193cc9cf8e9ca946939ddd31bc50d2057e41076 Mon Sep 17 00:00:00 2001 From: Aaron Steinfeld Date: Mon, 30 Jun 2025 09:00:00 -0400 Subject: [PATCH] ci: try again --- .github/workflows/publish.yml | 6 +++++- package.json | 3 --- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 393f1398..900bc69a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,9 +33,13 @@ 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 0038cacc..a30d2784 100644 --- a/package.json +++ b/package.json @@ -94,9 +94,6 @@ "type": "git", "url": "git@github.com:hypertrace/hyperdash-angular.git" }, - "publishConfig": { - "registry": "https://us-npm.pkg.dev/hypertrace-repos/npm-publish" - }, "release": { "branches": [ "main"