This repository was archived by the owner on Jul 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1111jobs :
1212 lint :
1313 runs-on : ubuntu-latest
14+ permissions :
15+ contents : read
16+ id-token : write
1417
1518 steps :
1619 - uses : actions/checkout@v4
2225 node-version : ' 23'
2326 cache : ' pnpm'
2427 registry-url : " https://registry.npmjs.org"
28+
29+ - name : Authenticate to Google Cloud
30+ uses : google-github-actions/auth@v2
31+ with :
32+ workload_identity_provider : ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER }}
33+ service_account : ${{ vars.GCP_SERVICE_ACCOUNT_EMAIL }}
34+
35+ - name : Login to GCP Artifact Registry
36+ run : pnpm artifactregistry-login
37+
2538 - run : pnpm install --frozen-lockfile
2639 - run : pnpm lint
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments