@@ -21,14 +21,14 @@ jobs:
21
21
uses : jaywcjlove/github-action-contributors@main
22
22
with :
23
23
filter-author : (renovate\[bot\]|renovate-bot|dependabot\[bot\])
24
- output : build/CONTRIBUTORS.svg
24
+ output : www/ build/CONTRIBUTORS.svg
25
25
avatarSize : 42
26
26
27
27
- name : Create Tag
28
28
id : create_tag
29
29
uses : jaywcjlove/create-tag-action@main
30
30
with :
31
- package-path : ./package.json
31
+ package-path : ./core/ package.json
32
32
33
33
- name : get tag version
34
34
id : tag_version
39
39
with :
40
40
commit_message : ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
41
41
github_token : ${{ secrets.GITHUB_TOKEN }}
42
- publish_dir : ./build
42
+ publish_dir : ./www/ build
43
43
44
44
- name : Generate Changelog
45
45
id : changelog
@@ -76,42 +76,44 @@ jobs:
76
76
- name : Modify package.json
77
77
uses : jaywcjlove/github-action-package@main
78
78
with :
79
+ path : ./core/package.json
79
80
unset : scripts,eslintConfig,devDependencies,browserslist
80
81
81
82
- name : 📦 @uiw/react-markdown-editor 📦
82
83
run : npm publish
83
84
continue-on-error : true
85
+ working-directory : core
84
86
env :
85
87
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
86
88
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