Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit eac46d1

Browse files
committed
fix internal npm package access
1 parent 10e78e2 commit eac46d1

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ permissions:
1010
contents: read
1111
id-token: write #required for GCP Workload Identity federation which we use to login into Google Artifact Registry
1212

13+
permissions:
14+
contents: read
15+
id-token: write #required for GCP Workload Identity federation which we use to login into Google Artifact Registry
16+
issues: write
17+
pull-requests: write
18+
checks: write
19+
1320
jobs:
1421
lint:
1522
runs-on: ubuntu-latest
16-
1723
steps:
1824
- uses: actions/checkout@v4
1925

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ auto-install-peers=true
22
strict-peer-dependencies=false
33
registry=https://registry.npmjs.org
44
node-linker=hoisted
5+
@aptos-internal:registry=https://us-npm.pkg.dev/aptos-registry/npm/
6+
//us-npm.pkg.dev/aptos-registry/npm/:always-auth=true
7+
@jsr:registry=https://npm.jsr.io

apps/nextra/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@aptos-internal:registry=https://us-npm.pkg.dev/aptos-registry/npm/
22
//us-npm.pkg.dev/aptos-registry/npm/:always-auth=true
3+
@jsr:registry=https://npm.jsr.io

apps/nextra/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"start": "next start -p 3030",
1616
"types:check": "tsc --noEmit",
1717
"fmt": "prettier --write '**/*.(css|tsx|ts|jsx|js|cjs|mjs|json|md|html)'",
18-
"lint": "prettier --check '**/*.(css|tsx|ts|jsx|js|cjs|mjs|json|md|html)'"
18+
"lint": "prettier --check '**/*.(css|tsx|ts|jsx|js|cjs|mjs|json|md|html)",
19+
"artifactregistry-login": "pnpm dlx google-artifactregistry-auth"
1920
},
2021
"dependencies": {
2122
"@aptos-internal/api-gateway-admin-api-client": "4.1.0",

0 commit comments

Comments
 (0)