File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 8686 with :
8787 token : ${{ secrets.NPM_TOKEN }}
8888 package : ./package.json
89+
90+ outputs :
91+ successful : ${{steps.create_tag.outputs.successful }}
92+
93+ github-package :
94+ runs-on : ubuntu-18.04
95+ needs : build-deploy
96+ if : needs.build-deploy.outputs.successful
97+ steps :
98+ - uses : actions/checkout@v3
99+ - uses : actions/setup-node@v3
100+ with :
101+ node-version : 16
102+ registry-url : https://npm.pkg.github.com
103+ scope : ' @uiwjs'
104+
105+ - run : npm install
106+ - run : npm run build
107+
108+ - name : " Modify @uiw/react-textarea-code-editor => @uiwjs/react-textarea-code-editor"
109+ uses : jaywcjlove/github-action-package@main
110+ if : success() || failure()
111+ with :
112+ path : ./package.json
113+ data : |
114+ { "name": "@uiwjs/react-textarea-code-editor" }
115+
116+ - run : npm publish
117+ working-directory : core
118+ if : success() || failure()
119+ env :
120+ NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments