File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,11 +2,15 @@ name: Release
22on :
33 workflow_dispatch :
44 inputs :
5- releaseitParams :
6- description : ' Release params'
7- required : false
8- default : ' '
9- type : string
5+ versionTag :
6+ description : ' Version tag'
7+ required : true
8+ default : ' patch'
9+ type : choice
10+ options :
11+ - patch
12+ - minor
13+ - major
1014jobs :
1115 release :
1216 runs-on : ubuntu-latest
@@ -23,10 +27,11 @@ jobs:
2327 run : |
2428 npm config set location project
2529 npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
30+ yarn config set registry https://registry.npmjs.org
2631 env :
2732 NPM_TOKEN : ${{secrets.NPM_TOKEN}}
2833 - name : Run release
29- run : yarn run release --ci
34+ run : yarn run release --ci -i=${{inputs.versionTag}}
3035 env :
3136 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
3237 NPM_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change @@ -46,3 +46,4 @@ node_modules/
4646
4747# release
4848.npmrc
49+ bin
Original file line number Diff line number Diff line change 66 "module" : " ./dist/index.mjs" ,
77 "types" : " ./dist/index.d.ts" ,
88 "license" : " MIT" ,
9+ "files" : [
10+ " /dist"
11+ ],
912 "repository" : {
1013 "type" : " git" ,
1114 "url" : " https://github.com/izziaraffaele/react-eas.git"
You can’t perform that action at this time.
0 commit comments