We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06584b2 commit 58a0e46Copy full SHA for 58a0e46
.github/workflows/publish.yml
@@ -21,9 +21,15 @@ jobs:
21
- name: Build
22
run: npm run build
23
24
+ - uses: google-github-actions/auth@v2
25
+ id: auth
26
+ with:
27
+ token_format: access_token
28
+ workload_identity_provider: projects/1030413944741/locations/global/workloadIdentityPools/github-pool/providers/github-provider
29
+ service_account: [email protected]
30
- name: Publish
31
run: npm run semantic-release
32
env:
33
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- NPM_TOKEN: ${{ secrets.HAR_PUBLISH_TOKEN }}
- NPM_CONFIG_REGISTRY: ${{ secrets.HAR_NPM_REGISTRY }}
34
+ NPM_TOKEN: ${{ steps.auth.outputs.access_token }}
35
+ NPM_CONFIG_REGISTRY: ${{ secrets.GAR_NPM_PUBLISH_REGISTRY }}
0 commit comments