File tree 1 file changed +20
-2
lines changed
1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 6
6
jobs :
7
7
release-please :
8
8
runs-on : ubuntu-latest
9
+ permissions :
10
+ id-token : write
11
+ contents : write
12
+ pull-requests : write
9
13
steps :
10
- - uses : navikt/github-app-token-generator@2d70c12368d1958155af4d283f9f21c9a2a8cb98
14
+ - uses : navikt/github-app-token-generator@a3831f44404199df32d8f39f7c0ad9bb8fa18b1c
11
15
id : get-token
12
16
with :
13
17
private-key : ${{ secrets.TOKENS_PRIVATE_KEY }}
14
18
app-id : ${{ secrets.TOKENS_APP_ID }}
15
- - uses : GoogleCloudPlatform/release-please-action@v2
19
+ - uses : GoogleCloudPlatform/release-please-action@v3
20
+ id : release
16
21
with :
17
22
token : ${{ steps.get-token.outputs.token }}
18
23
release-type : node
19
24
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