File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -40,26 +40,16 @@ jobs:
4040 - name : Setup node
4141 uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
4242 with :
43- node-version : 18
43+ node-version : 20
4444 registry-url : ' https://registry.npmjs.org'
45- - name : Authenticate to Google Cloud
46- uses : google-github-actions/auth@140bb5113ffb6b65a7e9b937a81fa96cf5064462 # v2.1.11
47- with :
48- workload_identity_provider : projects/306323169285/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider
49- service_account :
[email protected] 50-
51- - uses : google-github-actions/get-secretmanager-secrets@50ec04d56ddf2740b0bde82926cc742f90e06d2b # v2.2.4
52- id : secrets
53- with :
54- secrets : |-
55- npm_publish_token:sigstore-secrets/protobuf-specs-npm-publish-token
45+ - name : Install npm w/ OIDC support
46+ run : |
47+ npm install -g npm@^11.5.0
5648 - name : Build package
5749 run : |
5850 npm ci
5951 npm run build
6052 - name : Publish package
6153 run : |
6254 npm publish --provenance --access public
63- env :
64- NODE_AUTH_TOKEN : ${{ steps.secrets.outputs.npm_publish_token }}
6555
You can’t perform that action at this time.
0 commit comments