File tree Expand file tree Collapse file tree 2 files changed +29
-18
lines changed Expand file tree Collapse file tree 2 files changed +29
-18
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: Node.js CI
3
3
push :
4
4
branches :
5
5
- master
6
- - alpha
7
6
- beta
8
7
- renovate/**
9
8
pull_request :
@@ -27,20 +26,15 @@ jobs:
27
26
- run : npm audit signatures
28
27
- run : npm test
29
28
release :
30
- needs : verify
31
- runs-on : ubuntu-latest
32
- steps :
33
- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
34
- - name : Read .nvmrc
35
- run : echo ::set-output name=NVMRC::$(cat .nvmrc)
36
- id : nvm
37
- - name : Setup node
38
- uses : actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
39
- with :
40
- node-version : ${{ steps.nvm.outputs.NVMRC }}
41
- - uses : bahmutov/npm-install@c5482d70ec8706408996e31ac94075030694993f # v1.8.32
42
- - name : semantic-release
43
- run : npx semantic-release
44
- env :
45
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46
- NPM_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
29
+ needs :
30
+ - verify
31
+ permissions :
32
+ contents : write
33
+ id-token : write
34
+ issues : write
35
+ pull-requests : write
36
+ uses : form8ion/.github/.github/workflows/release-package.yml@master
37
+ secrets :
38
+ NPM_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
39
+ permissions :
40
+ contents : read
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ ' on ' :
3
+ push :
4
+ branches :
5
+ - alpha
6
+ permissions :
7
+ contents : read
8
+ jobs :
9
+ release :
10
+ permissions :
11
+ contents : write
12
+ id-token : write
13
+ issues : write
14
+ pull-requests : write
15
+ uses : form8ion/.github/.github/workflows/release-package.yml@master
16
+ secrets :
17
+ NPM_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
You can’t perform that action at this time.
0 commit comments