Skip to content

Commit 8a4cff1

Browse files
fix: correct publish (#1299)
1 parent 63d9149 commit 8a4cff1

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@ 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-
# Can't seem to get it to override this for publish otherwise...
37-
- name: Remove npmrc
38-
shell: bash
39-
run: rm .npmrc
36+
4037
- name: Publish
4138
run: npm run semantic-release
4239
env:
4340
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4441
NPM_TOKEN: ${{ steps.auth.outputs.access_token }}
45-
NPM_CONFIG_REGISTRY: ${{ secrets.GAR_NPM_PUBLISH_REGISTRY }}

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@
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+
},
97100
"release": {
98101
"branches": [
99102
"main"

0 commit comments

Comments
 (0)