@@ -21,14 +21,14 @@ jobs:
2121 uses : jaywcjlove/github-action-contributors@main
2222 with :
2323 filter-author : (renovate\[bot\]|renovate-bot|dependabot\[bot\])
24- output : build/CONTRIBUTORS.svg
24+ output : www/ build/CONTRIBUTORS.svg
2525 avatarSize : 42
2626
2727 - name : Create Tag
2828 id : create_tag
2929 uses : jaywcjlove/create-tag-action@main
3030 with :
31- package-path : ./package.json
31+ package-path : ./core/ package.json
3232
3333 - name : get tag version
3434 id : tag_version
3939 with :
4040 commit_message : ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
4141 github_token : ${{ secrets.GITHUB_TOKEN }}
42- publish_dir : ./build
42+ publish_dir : ./www/ build
4343
4444 - name : Generate Changelog
4545 id : changelog
@@ -76,42 +76,44 @@ jobs:
7676 - name : Modify package.json
7777 uses : jaywcjlove/github-action-package@main
7878 with :
79+ path : ./core/package.json
7980 unset : scripts,eslintConfig,devDependencies,browserslist
8081
8182 - name : 📦 @uiw/react-markdown-editor 📦
8283 run : npm publish
8384 continue-on-error : true
85+ working-directory : core
8486 env :
8587 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
8688
87- outputs :
88- successful : ${{steps.create_tag.outputs.successful }}
89-
90- github-package :
91- runs-on : ubuntu-latest
92- needs : build-deploy
93- if : needs.build-deploy.outputs.successful
94- steps :
95- - uses : actions/checkout@v3
96- - uses : actions/setup-node@v3
97- with :
98- node-version : 16
99- registry-url : https://npm.pkg.github.com
100- scope : ' @uiwjs'
101-
102- - run : npm install
103- - run : npm run build
104-
105- - name : " Modify @uiw/react-markdown-editor => @uiwjs/react-markdown-editor"
106- uses : jaywcjlove/github-action-package@main
107- with :
108- path : ./package.json
109- rename : ' @uiwjs/react-markdown-editor'
110-
111- - run : npm publish
112- continue-on-error : true
113- env :
114- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
115- # - run: npm publish
116- # env:
117- # NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
89+ # outputs:
90+ # successful: ${{steps.create_tag.outputs.successful }}
91+
92+ # github-package:
93+ # runs-on: ubuntu-latest
94+ # needs: build-deploy
95+ # if: needs.build-deploy.outputs.successful
96+ # steps:
97+ # - uses: actions/checkout@v3
98+ # - uses: actions/setup-node@v3
99+ # with:
100+ # node-version: 16
101+ # registry-url: https://npm.pkg.github.com
102+ # scope: '@uiwjs'
103+
104+ # - run: npm install
105+ # - run: npm run build
106+
107+ # - name: "Modify @uiw/react-markdown-editor => @uiwjs/react-markdown-editor"
108+ # uses: jaywcjlove/github-action-package@main
109+ # with:
110+ # path: ./package.json
111+ # rename: '@uiwjs/react-markdown-editor'
112+
113+ # - run: npm publish
114+ # continue-on-error: true
115+ # env:
116+ # NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117+ # # - run: npm publish
118+ # # env:
119+ # # NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments