Skip to content

Commit 46f5a4b

Browse files
fix: manually adjust npmrc (#1300)
1 parent 8a4cff1 commit 46f5a4b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
token_format: access_token
3434
workload_identity_provider: projects/1030413944741/locations/global/workloadIdentityPools/github-pool/providers/github-provider
3535
service_account: [email protected]
36+
# Ref https://github.com/semantic-release/npm/pull/844
37+
- name: Update npmrc for publish
38+
shell: bash
39+
run: npm config -L project @hypertrace:registry ${{ secrets.GAR_NPM_PUBLISH_REGISTRY }}
3640

3741
- name: Publish
3842
run: npm run semantic-release

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@
9494
"type": "git",
9595
"url": "[email protected]:hypertrace/hyperdash-angular.git"
9696
},
97-
"publishConfig": {
98-
"@hypertrace:registry": "https://us-npm.pkg.dev/hypertrace-repos/npm-publish"
99-
},
10097
"release": {
10198
"branches": [
10299
"main"

0 commit comments

Comments
 (0)