Skip to content

Commit 1537d05

Browse files
feat: update repos (#1290)
* feat: update repos * chore: update version * ci: switch to gar
1 parent 8c27bf5 commit 1537d05

File tree

5 files changed

+24
-15
lines changed

5 files changed

+24
-15
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77
jobs:
88
build:
9-
runs-on: ubuntu-22.04
9+
runs-on: ubuntu-24.04
1010
steps:
1111
- name: Check out code
1212
uses: actions/checkout@v4
@@ -23,7 +23,7 @@ jobs:
2323
- name: Build
2424
run: npm run build:ci
2525
test:
26-
runs-on: ubuntu-22.04
26+
runs-on: ubuntu-24.04
2727
steps:
2828
- name: Check out code
2929
uses: actions/checkout@v4

.github/workflows/publish.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ on:
55
- main
66
jobs:
77
publish:
8-
runs-on: ubuntu-22.04
8+
runs-on: ubuntu-24.04
9+
permissions:
10+
contents: 'write'
11+
id-token: 'write'
12+
issues: 'write'
13+
pull-requests: 'write'
914
steps:
1015
- name: Check out code
1116
uses: actions/checkout@v4
@@ -22,10 +27,16 @@ jobs:
2227
- name: Build
2328
run: npm run build:ci
2429

30+
- uses: google-github-actions/auth@v2
31+
id: auth
32+
with:
33+
token_format: access_token
34+
workload_identity_provider: projects/1030413944741/locations/global/workloadIdentityPools/github-pool/providers/github-provider
35+
service_account: [email protected]
36+
2537
- name: Publish
2638
run: npm run semantic-release
2739
env:
2840
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29-
NPM_USERNAME: ${{ secrets.NPM_USERNAME }}
30-
NPM_PASSWORD: ${{ secrets.NPM_PASSWORD }}
31-
NPM_EMAIL: ${{ secrets.NPM_EMAIL }}
41+
NPM_TOKEN: ${{ steps.auth.outputs.access_token }}
42+
NPM_CONFIG_REGISTRY: ${{ secrets.GAR_NPM_PUBLISH_REGISTRY }}

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@hypertrace:registry=https://hypertrace.jfrog.io/artifactory/api/npm/npm/
1+
@hypertrace:registry=https://us-npm.pkg.dev/hypertrace-repos/npm

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@angular/forms": "^19.0.5",
2424
"@angular/platform-browser": "^19.0.5",
2525
"@angular/platform-browser-dynamic": "^19.0.5",
26-
"@hypertrace/hyperdash": "^1.3.0",
26+
"@hypertrace/hyperdash": "^1.4.1",
2727
"@typescript-eslint/utils": "^8.33.0",
2828
"core-js": "^3.43.0",
2929
"lodash-es": "^4.17.21",
@@ -94,9 +94,6 @@
9494
"type": "git",
9595
"url": "[email protected]:hypertrace/hyperdash-angular.git"
9696
},
97-
"publishConfig": {
98-
"registry": "https://hypertrace.jfrog.io/artifactory/api/npm/npm/"
99-
},
10097
"release": {
10198
"branches": [
10299
"main"

0 commit comments

Comments
 (0)