File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 66jobs :
77 release-please :
88 runs-on : ubuntu-latest
9+ permissions :
10+ id-token : write
11+ contents : write
12+ pull-requests : write
913 steps :
10- - uses : navikt/github-app-token-generator@2d70c12368d1958155af4d283f9f21c9a2a8cb98
14+ - uses : navikt/github-app-token-generator@a3831f44404199df32d8f39f7c0ad9bb8fa18b1c
1115 id : get-token
1216 with :
1317 private-key : ${{ secrets.TOKENS_PRIVATE_KEY }}
1418 app-id : ${{ secrets.TOKENS_APP_ID }}
15- - uses : GoogleCloudPlatform/release-please-action@v2
19+ - uses : GoogleCloudPlatform/release-please-action@v3
20+ id : release
1621 with :
1722 token : ${{ steps.get-token.outputs.token }}
1823 release-type : node
1924 package-name : ' @netlify/angular-runtime'
25+ - uses : actions/checkout@v4
26+ if : ${{ steps.release.outputs.release_created }}
27+ - uses : actions/setup-node@v3
28+ with :
29+ node-version : ' *'
30+ cache : ' npm'
31+ check-latest : true
32+ registry-url : ' https://registry.npmjs.org'
33+ if : ${{ steps.release.outputs.release_created }}
34+ - run : npm publish --provenance
35+ if : ${{ steps.release.outputs.release_created }}
36+ env :
37+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments