File tree 4 files changed +9683
-3158
lines changed
4 files changed +9683
-3158
lines changed Original file line number Diff line number Diff line change 7
7
- " [0-9]+.[0-9]+.x"
8
8
9
9
permissions :
10
- contents : read
10
+ contents : read # for checkout
11
11
12
12
jobs :
13
13
release :
14
14
name : Release
15
15
runs-on : ubuntu-latest
16
16
permissions :
17
- contents : write
18
- issues : write
19
- pull-requests : write
20
- id-token : write
17
+ contents : write # to be able to publish a GitHub release
18
+ issues : write # to be able to comment on released issues
19
+ pull-requests : write # to be able to comment on released pull requests
20
+ id-token : write # to enable use of OIDC for npm provenance
21
21
steps :
22
22
- name : Checkout repository
23
23
uses : actions/checkout@v4
24
24
with :
25
- fetch-depth : 0
25
+ fetch-depth : 0 # fetch all history
26
26
27
27
- name : Setup Node.js
28
28
uses : actions/setup-node@v4
33
33
run : npm ci
34
34
35
35
- name : Release
36
- run : npx -y semantic-release@^24.1.2
37
36
env :
38
37
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
38
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
39
+ run : npx semantic-release
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments