File tree Expand file tree Collapse file tree 1 file changed +24
-22
lines changed
Expand file tree Collapse file tree 1 file changed +24
-22
lines changed Original file line number Diff line number Diff line change 88jobs :
99 release :
1010 runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
1113 steps :
12- - name : Checkout
13- uses : actions/checkout@v4
14- with :
15- fetch-depth : 0
16- token : ${{ secrets.GITHUB_TOKEN }}
17-
18- - name : Setup Node.js
19- uses : actions/setup-node@v4
20- with :
21- node-version : ' 20.x'
22- cache : ' npm'
23-
24- - name : Install dependencies
25- run : npm ci --ignore-scripts
26-
27- - name : Install semantic-release
28- run : npm install -g semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/github
29-
30- - name : Run semantic-release
31- env :
32- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33- run : semantic-release
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0
18+ token : ${{ secrets.GITHUB_TOKEN }}
19+
20+ - name : Setup Node.js
21+ uses : actions/setup-node@v4
22+ with :
23+ node-version : ' 20.x'
24+ cache : ' npm'
25+
26+ - name : Install dependencies
27+ run : npm ci --ignore-scripts
28+
29+ - name : Install semantic-release
30+ run : npm install -g semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/github
31+
32+ - name : Run semantic-release
33+ env :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ run : semantic-release
You can’t perform that action at this time.
0 commit comments