|
6 | 6 |
|
7 | 7 | jobs:
|
8 | 8 | build-deploy:
|
9 |
| - runs-on: ubuntu-20.04 |
| 9 | + runs-on: ubuntu-latest |
10 | 10 | steps:
|
11 |
| - - uses: actions/checkout@v2 |
12 |
| - - uses: actions/setup-node@v2 |
13 |
| - with: |
14 |
| - node-version: 16 |
15 |
| - |
16 |
| - - run: npm install |
17 |
| - - run: npm run hoist |
18 |
| - |
19 |
| - - run: npm run build |
20 |
| - - run: npm run coverage |
21 |
| - |
22 |
| - - run: npm run b:website |
23 |
| - - run: npm run b:doc |
24 |
| - |
25 |
| - - run: cp -rp LICENSE packages/uiw |
26 |
| - |
27 |
| - - run: | |
28 |
| - # Strip git ref prefix from version |
29 |
| - VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') |
30 |
| - COMMIT=released-${VERSION} |
31 |
| - |
32 |
| - # Strip "v" prefix from tag name |
33 |
| - [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') |
34 |
| - echo "version: $VERSION" |
35 |
| - export VERSION |
36 |
| - |
37 |
| - node node_modules/.bin/lerna version $VERSION --no-changelog --no-git-tag-version --no-push --yes --force-publish |
38 |
| - npm run b:website |
39 |
| - npm run b:doc |
40 |
| - git config --local user.email "action@github.com" |
41 |
| - git config --local user.name "GitHub Action" |
42 |
| - git add . |
43 |
| - |
44 |
| - git commit -am $COMMIT |
45 |
| - |
46 |
| - - run: rm -rf packages/doc/web |
47 |
| - - run: mkdir -p packages/doc/web |
48 |
| - |
49 |
| - - name: Generate Contributors Images |
50 |
| - uses: jaywcjlove/github-action-contributors@main |
51 |
| - with: |
52 |
| - filter-author: (renovate\[bot\]|actions-user|renovate-bot|dependabot\[bot\]) |
53 |
| - output: ./website/build/CONTRIBUTORS.svg |
54 |
| - avatarSize: 42 |
55 |
| - |
56 |
| - - run: cp -rf website/build/* packages/doc/web |
57 |
| - |
58 |
| - - run: npm run bundle |
59 |
| - - run: cp -rp packages/uiw/dist/*js website/build |
60 |
| - - run: cp -rp packages/uiw/dist/*css website/build |
61 |
| - |
62 |
| - - run: git checkout -f packages/uiw/tsconfig.json |
63 |
| - |
64 |
| - - run: git status |
65 |
| - |
66 |
| - - name: git push master |
67 |
| - uses: ad-m/github-push-action@master |
68 |
| - with: |
69 |
| - github_token: ${{ secrets.GITHUB_TOKEN }} |
70 |
| - |
71 |
| - - name: get tag version |
72 |
| - id: tag_version |
73 |
| - uses: jaywcjlove/changelog-generator@v1.5.0 |
74 |
| - |
75 |
| - - name: Deploy to uiwjs.github.io |
76 |
| - uses: peaceiris/actions-gh-pages@v3 |
77 |
| - with: |
78 |
| - user_name: 'github-actions[bot]' |
79 |
| - user_email: 'github-actions[bot]@users.noreply.github.com' |
80 |
| - commit_message: '[${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}' |
81 |
| - personal_token: ${{ secrets.PERSONAL_TOKEN_UIW }} |
82 |
| - publish_dir: ./website/build |
83 |
| - publish_branch: master |
84 |
| - external_repository: uiwjs/uiwjs.github.io |
85 |
| - |
86 |
| - - name: Deploy gh-pages |
87 |
| - uses: peaceiris/actions-gh-pages@v3 |
88 |
| - with: |
89 |
| - user_name: 'github-actions[bot]' |
90 |
| - user_email: 'github-actions[bot]@users.noreply.github.com' |
91 |
| - commit_message: '[${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}' |
92 |
| - deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} |
93 |
| - publish_branch: gh-pages |
94 |
| - publish_dir: ./website/build |
95 |
| - cname: uiw.js.cool |
96 |
| - |
97 |
| - - name: Generate changelog |
98 |
| - id: changelog |
99 |
| - uses: jaywcjlove/changelog-generator@v1.5.0 |
100 |
| - with: |
101 |
| - filter-author: (小弟调调™) |
102 |
| - filter: (^[\s]+?[R|r]elease)|(^[R|r]elease) |
103 |
| - |
104 |
| - - run: | |
105 |
| - echo "tag: ${{ steps.changelog.outputs.tag }}" |
106 |
| - echo "version: ${{ steps.changelog.outputs.version }}" |
107 |
| - echo "ref: ${{ github.ref }}" |
108 |
| -
|
109 |
| - - name: Create Release |
110 |
| - uses: ncipollo/release-action@v1 |
111 |
| - with: |
112 |
| - token: ${{ secrets.GITHUB_TOKEN }} |
113 |
| - name: ${{ steps.changelog.outputs.tag }} |
114 |
| - tag: ${{ steps.changelog.outputs.tag }} |
115 |
| - body: | |
116 |
| - [](https://uiwjs.github.io/npm-unpkg/#/pkg/uiw@${{steps.changelog.outputs.version}}/file/README.md) [](https://bundlephobia.com/result?p=uiw@${{steps.changelog.outputs.version}}) [](https://www.npmjs.com/package/uiw) |
117 |
| - |
118 |
| - Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/uiwjs/uiw/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html |
119 |
| - Comparing Changes: ${{ steps.changelog.outputs.compareurl }} |
120 |
| -
|
121 |
| - ```bash |
122 |
| - npm i uiw@${{steps.changelog.outputs.version}} |
123 |
| - ``` |
124 |
| -
|
125 |
| - ${{ steps.changelog.outputs.changelog }} |
126 |
| -
|
127 |
| -
|
128 |
| - - name: Sync to Gitee |
129 |
| - run: | |
130 |
| - mirror() { |
131 |
| - git clone "https://github.com/$1/$2" |
132 |
| - cd "$2" |
133 |
| - git remote add gitee "https://jaywcjlove:${{ secrets.GITEE_TOKEN }}@gitee.com/uiw/$2.git" |
134 |
| - git remote set-head origin -d |
135 |
| - git push gitee --prune +refs/remotes/origin/*:refs/heads/* +refs/tags/*:refs/tags/* |
136 |
| - cd .. |
137 |
| - } |
138 |
| - mirror uiwjs uiw |
139 |
| -
|
140 |
| - - name: 📦 @uiw/react-affix publish to NPM |
141 |
| - uses: JS-DevTools/npm-publish@v1 |
142 |
| - with: |
143 |
| - token: ${{ secrets.NPM_TOKEN }} |
144 |
| - package: ./packages/react-affix/package.json |
145 |
| - - name: 📦 @uiw/react-alert publish to NPM |
146 |
| - uses: JS-DevTools/npm-publish@v1 |
147 |
| - with: |
148 |
| - token: ${{ secrets.NPM_TOKEN }} |
149 |
| - package: ./packages/react-alert/package.json |
150 |
| - - name: 📦 @uiw/react-auto-link publish to NPM |
151 |
| - uses: JS-DevTools/npm-publish@v1 |
152 |
| - with: |
153 |
| - token: ${{ secrets.NPM_TOKEN }} |
154 |
| - package: ./packages/react-auto-link/package.json |
155 |
| - - name: 📦 @uiw/react-avatar publish to NPM |
156 |
| - uses: JS-DevTools/npm-publish@v1 |
157 |
| - with: |
158 |
| - token: ${{ secrets.NPM_TOKEN }} |
159 |
| - package: ./packages/react-avatar/package.json |
160 |
| - - name: 📦 @uiw/react-back-top publish to NPM |
161 |
| - uses: JS-DevTools/npm-publish@v1 |
162 |
| - with: |
163 |
| - token: ${{ secrets.NPM_TOKEN }} |
164 |
| - package: ./packages/react-back-top/package.json |
165 |
| - - name: 📦 @uiw/react-badge publish to NPM |
166 |
| - uses: JS-DevTools/npm-publish@v1 |
167 |
| - with: |
168 |
| - token: ${{ secrets.NPM_TOKEN }} |
169 |
| - package: ./packages/react-badge/package.json |
170 |
| - - name: 📦 @uiw/react-breadcrumb publish to NPM |
171 |
| - uses: JS-DevTools/npm-publish@v1 |
172 |
| - with: |
173 |
| - token: ${{ secrets.NPM_TOKEN }} |
174 |
| - package: ./packages/react-breadcrumb/package.json |
175 |
| - - name: 📦 @uiw/react-button publish to NPM |
176 |
| - uses: JS-DevTools/npm-publish@v1 |
177 |
| - with: |
178 |
| - token: ${{ secrets.NPM_TOKEN }} |
179 |
| - package: ./packages/react-button/package.json |
180 |
| - - name: 📦 @uiw/react-button-group publish to NPM |
181 |
| - uses: JS-DevTools/npm-publish@v1 |
182 |
| - with: |
183 |
| - token: ${{ secrets.NPM_TOKEN }} |
184 |
| - package: ./packages/react-button-group/package.json |
185 |
| - - name: 📦 @uiw/react-calendar publish to NPM |
186 |
| - uses: JS-DevTools/npm-publish@v1 |
187 |
| - with: |
188 |
| - token: ${{ secrets.NPM_TOKEN }} |
189 |
| - package: ./packages/react-calendar/package.json |
190 |
| - - name: 📦 @uiw/react-card publish to NPM |
191 |
| - uses: JS-DevTools/npm-publish@v1 |
192 |
| - with: |
193 |
| - token: ${{ secrets.NPM_TOKEN }} |
194 |
| - package: ./packages/react-card/package.json |
195 |
| - - name: 📦 @uiw/react-carousel publish to NPM |
196 |
| - uses: JS-DevTools/npm-publish@v1 |
197 |
| - with: |
198 |
| - token: ${{ secrets.NPM_TOKEN }} |
199 |
| - package: ./packages/react-carousel/package.json |
200 |
| - - name: 📦 @uiw/react-cascader publish to NPM |
201 |
| - uses: JS-DevTools/npm-publish@v1 |
202 |
| - with: |
203 |
| - token: ${{ secrets.NPM_TOKEN }} |
204 |
| - package: ./packages/react-cascader/package.json |
205 |
| - - name: 📦 @uiw/react-checkbox publish to NPM |
206 |
| - uses: JS-DevTools/npm-publish@v1 |
207 |
| - with: |
208 |
| - token: ${{ secrets.NPM_TOKEN }} |
209 |
| - package: ./packages/react-checkbox/package.json |
210 |
| - - name: 📦 @uiw/react-collapse publish to NPM |
211 |
| - uses: JS-DevTools/npm-publish@v1 |
212 |
| - with: |
213 |
| - token: ${{ secrets.NPM_TOKEN }} |
214 |
| - package: ./packages/react-collapse/package.json |
215 |
| - - name: 📦 @uiw/react-copy-to-clipboard publish to NPM |
216 |
| - uses: JS-DevTools/npm-publish@v1 |
217 |
| - with: |
218 |
| - token: ${{ secrets.NPM_TOKEN }} |
219 |
| - package: ./packages/react-copy-to-clipboard/package.json |
220 |
| - - name: 📦 @uiw/react-date-input publish to NPM |
221 |
| - uses: JS-DevTools/npm-publish@v1 |
222 |
| - with: |
223 |
| - token: ${{ secrets.NPM_TOKEN }} |
224 |
| - package: ./packages/react-date-input/package.json |
225 |
| - - name: 📦 @uiw/react-date-picker publish to NPM |
226 |
| - uses: JS-DevTools/npm-publish@v1 |
227 |
| - with: |
228 |
| - token: ${{ secrets.NPM_TOKEN }} |
229 |
| - package: ./packages/react-date-picker/package.json |
230 |
| - - name: 📦 @uiw/react-descriptions publish to NPM |
231 |
| - uses: JS-DevTools/npm-publish@v1 |
232 |
| - with: |
233 |
| - token: ${{ secrets.NPM_TOKEN }} |
234 |
| - package: ./packages/react-descriptions/package.json |
235 |
| - - name: 📦 @uiw/react-divider publish to NPM |
236 |
| - uses: JS-DevTools/npm-publish@v1 |
237 |
| - with: |
238 |
| - token: ${{ secrets.NPM_TOKEN }} |
239 |
| - package: ./packages/react-divider/package.json |
240 |
| - - name: 📦 @uiw/react-drawer publish to NPM |
241 |
| - uses: JS-DevTools/npm-publish@v1 |
242 |
| - with: |
243 |
| - token: ${{ secrets.NPM_TOKEN }} |
244 |
| - package: ./packages/react-drawer/package.json |
245 |
| - - name: 📦 @uiw/react-dropdown publish to NPM |
246 |
| - uses: JS-DevTools/npm-publish@v1 |
247 |
| - with: |
248 |
| - token: ${{ secrets.NPM_TOKEN }} |
249 |
| - package: ./packages/react-dropdown/package.json |
250 |
| - - name: 📦 @uiw/react-empty publish to NPM |
251 |
| - uses: JS-DevTools/npm-publish@v1 |
252 |
| - with: |
253 |
| - token: ${{ secrets.NPM_TOKEN }} |
254 |
| - package: ./packages/react-empty/package.json |
255 |
| - - name: 📦 @uiw/react-file-input publish to NPM |
256 |
| - uses: JS-DevTools/npm-publish@v1 |
257 |
| - with: |
258 |
| - token: ${{ secrets.NPM_TOKEN }} |
259 |
| - package: ./packages/react-file-input/package.json |
260 |
| - - name: 📦 @uiw/react-form publish to NPM |
261 |
| - uses: JS-DevTools/npm-publish@v1 |
262 |
| - with: |
263 |
| - token: ${{ secrets.NPM_TOKEN }} |
264 |
| - package: ./packages/react-form/package.json |
265 |
| - - name: 📦 @uiw/react-grid publish to NPM |
266 |
| - uses: JS-DevTools/npm-publish@v1 |
267 |
| - with: |
268 |
| - token: ${{ secrets.NPM_TOKEN }} |
269 |
| - package: ./packages/react-grid/package.json |
270 |
| - - name: 📦 @uiw/react-icon publish to NPM |
271 |
| - uses: JS-DevTools/npm-publish@v1 |
272 |
| - with: |
273 |
| - token: ${{ secrets.NPM_TOKEN }} |
274 |
| - package: ./packages/react-icon/package.json |
275 |
| - - name: 📦 @uiw/react-input publish to NPM |
276 |
| - uses: JS-DevTools/npm-publish@v1 |
277 |
| - with: |
278 |
| - token: ${{ secrets.NPM_TOKEN }} |
279 |
| - package: ./packages/react-input/package.json |
280 |
| - - name: 📦 @uiw/react-list publish to NPM |
281 |
| - uses: JS-DevTools/npm-publish@v1 |
282 |
| - with: |
283 |
| - token: ${{ secrets.NPM_TOKEN }} |
284 |
| - package: ./packages/react-list/package.json |
285 |
| - - name: 📦 @uiw/react-loader publish to NPM |
286 |
| - uses: JS-DevTools/npm-publish@v1 |
287 |
| - with: |
288 |
| - token: ${{ secrets.NPM_TOKEN }} |
289 |
| - package: ./packages/react-loader/package.json |
290 |
| - - name: 📦 @uiw/react-menu publish to NPM |
291 |
| - uses: JS-DevTools/npm-publish@v1 |
292 |
| - with: |
293 |
| - token: ${{ secrets.NPM_TOKEN }} |
294 |
| - package: ./packages/react-menu/package.json |
295 |
| - - name: 📦 @uiw/react-message publish to NPM |
296 |
| - uses: JS-DevTools/npm-publish@v1 |
297 |
| - with: |
298 |
| - token: ${{ secrets.NPM_TOKEN }} |
299 |
| - package: ./packages/react-message/package.json |
300 |
| - - name: 📦 @uiw/react-modal publish to NPM |
301 |
| - uses: JS-DevTools/npm-publish@v1 |
302 |
| - with: |
303 |
| - token: ${{ secrets.NPM_TOKEN }} |
304 |
| - package: ./packages/react-modal/package.json |
305 |
| - - name: 📦 @uiw/react-month-picker publish to NPM |
306 |
| - uses: JS-DevTools/npm-publish@v1 |
307 |
| - with: |
308 |
| - token: ${{ secrets.NPM_TOKEN }} |
309 |
| - package: ./packages/react-month-picker/package.json |
310 |
| - - name: 📦 @uiw/react-notify publish to NPM |
311 |
| - uses: JS-DevTools/npm-publish@v1 |
312 |
| - with: |
313 |
| - token: ${{ secrets.NPM_TOKEN }} |
314 |
| - package: ./packages/react-notify/package.json |
315 |
| - - name: 📦 @uiw/react-overlay publish to NPM |
316 |
| - uses: JS-DevTools/npm-publish@v1 |
317 |
| - with: |
318 |
| - token: ${{ secrets.NPM_TOKEN }} |
319 |
| - package: ./packages/react-overlay/package.json |
320 |
| - - name: 📦 @uiw/react-overlay-trigger publish to NPM |
321 |
| - uses: JS-DevTools/npm-publish@v1 |
322 |
| - with: |
323 |
| - token: ${{ secrets.NPM_TOKEN }} |
324 |
| - package: ./packages/react-overlay-trigger/package.json |
325 |
| - - name: 📦 @uiw/react-pagination publish to NPM |
326 |
| - uses: JS-DevTools/npm-publish@v1 |
327 |
| - with: |
328 |
| - token: ${{ secrets.NPM_TOKEN }} |
329 |
| - package: ./packages/react-pagination/package.json |
330 |
| - - name: 📦 @uiw/react-pin-code publish to NPM |
331 |
| - uses: JS-DevTools/npm-publish@v1 |
332 |
| - with: |
333 |
| - token: ${{ secrets.NPM_TOKEN }} |
334 |
| - package: ./packages/react-pin-code/package.json |
335 |
| - - name: 📦 @uiw/react-popover publish to NPM |
336 |
| - uses: JS-DevTools/npm-publish@v1 |
337 |
| - with: |
338 |
| - token: ${{ secrets.NPM_TOKEN }} |
339 |
| - package: ./packages/react-popover/package.json |
340 |
| - - name: 📦 @uiw/react-portal publish to NPM |
341 |
| - uses: JS-DevTools/npm-publish@v1 |
342 |
| - with: |
343 |
| - token: ${{ secrets.NPM_TOKEN }} |
344 |
| - package: ./packages/react-portal/package.json |
345 |
| - - name: 📦 @uiw/react-progress publish to NPM |
346 |
| - uses: JS-DevTools/npm-publish@v1 |
347 |
| - with: |
348 |
| - token: ${{ secrets.NPM_TOKEN }} |
349 |
| - package: ./packages/react-progress/package.json |
350 |
| - - name: 📦 @uiw/react-radio publish to NPM |
351 |
| - uses: JS-DevTools/npm-publish@v1 |
352 |
| - with: |
353 |
| - token: ${{ secrets.NPM_TOKEN }} |
354 |
| - package: ./packages/react-radio/package.json |
355 |
| - - name: 📦 @uiw/react-rate publish to NPM |
356 |
| - uses: JS-DevTools/npm-publish@v1 |
357 |
| - with: |
358 |
| - token: ${{ secrets.NPM_TOKEN }} |
359 |
| - package: ./packages/react-rate/package.json |
360 |
| - - name: 📦 @uiw/react-search-select publish to NPM |
361 |
| - uses: JS-DevTools/npm-publish@v1 |
362 |
| - with: |
363 |
| - token: ${{ secrets.NPM_TOKEN }} |
364 |
| - package: ./packages/react-search-select/package.json |
365 |
| - - name: 📦 @uiw/react-search-tree publish to NPM |
366 |
| - uses: JS-DevTools/npm-publish@v1 |
367 |
| - with: |
368 |
| - token: ${{ secrets.NPM_TOKEN }} |
369 |
| - package: ./packages/react-search-tree/package.json |
370 |
| - - name: 📦 @uiw/react-select publish to NPM |
371 |
| - uses: JS-DevTools/npm-publish@v1 |
372 |
| - with: |
373 |
| - token: ${{ secrets.NPM_TOKEN }} |
374 |
| - package: ./packages/react-select/package.json |
375 |
| - - name: 📦 @uiw/react-slider publish to NPM |
376 |
| - uses: JS-DevTools/npm-publish@v1 |
377 |
| - with: |
378 |
| - token: ${{ secrets.NPM_TOKEN }} |
379 |
| - package: ./packages/react-slider/package.json |
380 |
| - - name: 📦 @uiw/react-steps publish to NPM |
381 |
| - uses: JS-DevTools/npm-publish@v1 |
382 |
| - with: |
383 |
| - token: ${{ secrets.NPM_TOKEN }} |
384 |
| - package: ./packages/react-steps/package.json |
385 |
| - - name: 📦 @uiw/react-switch publish to NPM |
386 |
| - uses: JS-DevTools/npm-publish@v1 |
387 |
| - with: |
388 |
| - token: ${{ secrets.NPM_TOKEN }} |
389 |
| - package: ./packages/react-switch/package.json |
390 |
| - - name: 📦 @uiw/react-table publish to NPM |
391 |
| - uses: JS-DevTools/npm-publish@v1 |
392 |
| - with: |
393 |
| - token: ${{ secrets.NPM_TOKEN }} |
394 |
| - package: ./packages/react-table/package.json |
395 |
| - - name: 📦 @uiw/react-tabs publish to NPM |
396 |
| - uses: JS-DevTools/npm-publish@v1 |
397 |
| - with: |
398 |
| - token: ${{ secrets.NPM_TOKEN }} |
399 |
| - package: ./packages/react-tabs/package.json |
400 |
| - - name: 📦 @uiw/react-tag publish to NPM |
401 |
| - uses: JS-DevTools/npm-publish@v1 |
402 |
| - with: |
403 |
| - token: ${{ secrets.NPM_TOKEN }} |
404 |
| - package: ./packages/react-tag/package.json |
405 |
| - - name: 📦 @uiw/react-textarea publish to NPM |
406 |
| - uses: JS-DevTools/npm-publish@v1 |
407 |
| - with: |
408 |
| - token: ${{ secrets.NPM_TOKEN }} |
409 |
| - package: ./packages/react-textarea/package.json |
410 |
| - - name: 📦 @uiw/react-time-picker publish to NPM |
411 |
| - uses: JS-DevTools/npm-publish@v1 |
412 |
| - with: |
413 |
| - token: ${{ secrets.NPM_TOKEN }} |
414 |
| - package: ./packages/react-time-picker/package.json |
415 |
| - - name: 📦 @uiw/react-tooltip publish to NPM |
416 |
| - uses: JS-DevTools/npm-publish@v1 |
417 |
| - with: |
418 |
| - token: ${{ secrets.NPM_TOKEN }} |
419 |
| - package: ./packages/react-tooltip/package.json |
420 |
| - - name: 📦 @uiw/react-tree publish to NPM |
421 |
| - uses: JS-DevTools/npm-publish@v1 |
422 |
| - with: |
423 |
| - token: ${{ secrets.NPM_TOKEN }} |
424 |
| - package: ./packages/react-tree/package.json |
425 |
| - - name: 📦 @uiw/react-tree-checked publish to NPM |
426 |
| - uses: JS-DevTools/npm-publish@v1 |
427 |
| - with: |
428 |
| - token: ${{ secrets.NPM_TOKEN }} |
429 |
| - package: ./packages/react-tree-checked/package.json |
430 |
| - - name: 📦 @uiw/react-transfer publish to NPM |
431 |
| - uses: JS-DevTools/npm-publish@v1 |
432 |
| - with: |
433 |
| - token: ${{ secrets.NPM_TOKEN }} |
434 |
| - package: ./packages/react-transfer/package.json |
435 |
| - - name: 📦 @uiw/utils publish to NPM |
436 |
| - uses: JS-DevTools/npm-publish@v1 |
437 |
| - with: |
438 |
| - token: ${{ secrets.NPM_TOKEN }} |
439 |
| - package: ./packages/utils/package.json |
440 |
| - - name: 📦 @uiw/uiw publish to NPM |
441 |
| - uses: JS-DevTools/npm-publish@v1 |
442 |
| - with: |
443 |
| - token: ${{ secrets.NPM_TOKEN }} |
444 |
| - package: ./packages/uiw/package.json |
445 |
| - - name: 📦 @uiw/doc publish to NPM |
446 |
| - uses: JS-DevTools/npm-publish@v1 |
447 |
| - with: |
448 |
| - token: ${{ secrets.NPM_TOKEN }} |
449 |
| - package: ./packages/doc/package.json |
| 11 | + - uses: actions/checkout@v3 |
| 12 | + - uses: actions/setup-node@v3 |
| 13 | + with: |
| 14 | + node-version: 16 |
| 15 | + registry-url: 'https://registry.npmjs.org' |
| 16 | + |
| 17 | + - run: npm install |
| 18 | + - run: npm run hoist |
| 19 | + |
| 20 | + - run: npm run build |
| 21 | + - run: npm run coverage |
| 22 | + |
| 23 | + - run: npm run b:website |
| 24 | + - run: npm run b:doc |
| 25 | + |
| 26 | + - run: cp -rp LICENSE packages/uiw |
| 27 | + |
| 28 | + - run: | |
| 29 | + # Strip git ref prefix from version |
| 30 | + VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') |
| 31 | + COMMIT=released-${VERSION} |
| 32 | + |
| 33 | + # Strip "v" prefix from tag name |
| 34 | + [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') |
| 35 | + echo "version: $VERSION" |
| 36 | + export VERSION |
| 37 | + |
| 38 | + node node_modules/.bin/lerna version $VERSION --no-changelog --no-git-tag-version --no-push --yes --force-publish |
| 39 | + npm run b:website |
| 40 | + npm run b:doc |
| 41 | + git config --local user.email "action@github.com" |
| 42 | + git config --local user.name "GitHub Action" |
| 43 | + git add . |
| 44 | + |
| 45 | + git commit -am $COMMIT |
| 46 | + |
| 47 | + - run: rm -rf packages/doc/web |
| 48 | + - run: mkdir -p packages/doc/web |
| 49 | + |
| 50 | + - name: Generate Contributors Images |
| 51 | + uses: jaywcjlove/github-action-contributors@main |
| 52 | + with: |
| 53 | + filter-author: (renovate\[bot\]|actions-user|renovate-bot|dependabot\[bot\]) |
| 54 | + output: ./website/build/CONTRIBUTORS.svg |
| 55 | + avatarSize: 42 |
| 56 | + |
| 57 | + - run: cp -rf website/build/* packages/doc/web |
| 58 | + |
| 59 | + - run: npm run bundle |
| 60 | + - run: cp -rp packages/uiw/dist/*js website/build |
| 61 | + - run: cp -rp packages/uiw/dist/*css website/build |
| 62 | + |
| 63 | + - run: git checkout -f packages/uiw/tsconfig.json |
| 64 | + |
| 65 | + - run: git status |
| 66 | + |
| 67 | + - name: git push master |
| 68 | + uses: ad-m/github-push-action@master |
| 69 | + with: |
| 70 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
| 71 | + |
| 72 | + - name: get tag version |
| 73 | + id: tag_version |
| 74 | + uses: jaywcjlove/changelog-generator@main |
| 75 | + |
| 76 | + - name: Deploy to uiwjs.github.io |
| 77 | + uses: peaceiris/actions-gh-pages@v3 |
| 78 | + with: |
| 79 | + user_name: 'github-actions[bot]' |
| 80 | + user_email: 'github-actions[bot]@users.noreply.github.com' |
| 81 | + commit_message: '[${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}' |
| 82 | + personal_token: ${{ secrets.PERSONAL_TOKEN_UIW }} |
| 83 | + publish_dir: ./website/build |
| 84 | + publish_branch: master |
| 85 | + external_repository: uiwjs/uiwjs.github.io |
| 86 | + |
| 87 | + - name: Deploy gh-pages |
| 88 | + uses: peaceiris/actions-gh-pages@v3 |
| 89 | + with: |
| 90 | + user_name: 'github-actions[bot]' |
| 91 | + user_email: 'github-actions[bot]@users.noreply.github.com' |
| 92 | + commit_message: '[${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}' |
| 93 | + deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} |
| 94 | + publish_branch: gh-pages |
| 95 | + publish_dir: ./website/build |
| 96 | + cname: uiw.js.cool |
| 97 | + |
| 98 | + - name: Generate changelog |
| 99 | + id: changelog |
| 100 | + uses: jaywcjlove/changelog-generator@main |
| 101 | + with: |
| 102 | + filter-author: (小弟调调™) |
| 103 | + filter: (^[\s]+?[R|r]elease)|(^[R|r]elease) |
| 104 | + |
| 105 | + - run: | |
| 106 | + echo "tag: ${{ steps.changelog.outputs.tag }}" |
| 107 | + echo "version: ${{ steps.changelog.outputs.version }}" |
| 108 | + echo "ref: ${{ github.ref }}" |
| 109 | +
|
| 110 | + - name: Create Release |
| 111 | + uses: ncipollo/release-action@v1 |
| 112 | + with: |
| 113 | + token: ${{ secrets.GITHUB_TOKEN }} |
| 114 | + name: ${{ steps.changelog.outputs.tag }} |
| 115 | + tag: ${{ steps.changelog.outputs.tag }} |
| 116 | + body: | |
| 117 | + [](https://uiwjs.github.io/npm-unpkg/#/pkg/uiw@${{steps.changelog.outputs.version}}/file/README.md) [](https://bundlephobia.com/result?p=uiw@${{steps.changelog.outputs.version}}) [](https://www.npmjs.com/package/uiw) |
| 118 | + |
| 119 | + Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/uiwjs/uiw/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html |
| 120 | + Comparing Changes: ${{ steps.changelog.outputs.compareurl }} |
| 121 | +
|
| 122 | + ```bash |
| 123 | + npm i uiw@${{steps.changelog.outputs.version}} |
| 124 | + ``` |
| 125 | +
|
| 126 | + ${{ steps.changelog.outputs.changelog }} |
| 127 | +
|
| 128 | +
|
| 129 | + - name: Sync to Gitee |
| 130 | + run: | |
| 131 | + mirror() { |
| 132 | + git clone "https://github.com/$1/$2" |
| 133 | + cd "$2" |
| 134 | + git remote add gitee "https://jaywcjlove:${{ secrets.GITEE_TOKEN }}@gitee.com/uiw/$2.git" |
| 135 | + git remote set-head origin -d |
| 136 | + git push gitee --prune +refs/remotes/origin/*:refs/heads/* +refs/tags/*:refs/tags/* |
| 137 | + cd .. |
| 138 | + } |
| 139 | + mirror uiwjs uiw |
| 140 | +
|
| 141 | + - name: 📦 @uiw/react-affix publish to NPM |
| 142 | + continue-on-error: true |
| 143 | + working-directory: ./packages/react-affix/ |
| 144 | + run: npm publish --access public |
| 145 | + env: |
| 146 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 147 | + |
| 148 | + - name: 📦 @uiw/react-alert publish to NPM |
| 149 | + continue-on-error: true |
| 150 | + working-directory: ./packages/react-alert/ |
| 151 | + run: npm publish --access public |
| 152 | + env: |
| 153 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 154 | + |
| 155 | + - name: 📦 @uiw/react-auto-link publish to NPM |
| 156 | + continue-on-error: true |
| 157 | + working-directory: ./packages/react-auto-link/ |
| 158 | + run: npm publish --access public |
| 159 | + env: |
| 160 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 161 | + |
| 162 | + - name: 📦 @uiw/react-avatar publish to NPM |
| 163 | + continue-on-error: true |
| 164 | + working-directory: ./packages/react-avatar/ |
| 165 | + run: npm publish --access public |
| 166 | + env: |
| 167 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 168 | + |
| 169 | + - name: 📦 @uiw/react-back-top publish to NPM |
| 170 | + continue-on-error: true |
| 171 | + working-directory: ./packages/react-back-top/ |
| 172 | + run: npm publish --access public |
| 173 | + env: |
| 174 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 175 | + |
| 176 | + - name: 📦 @uiw/react-badge publish to NPM |
| 177 | + continue-on-error: true |
| 178 | + working-directory: ./packages/react-badge/ |
| 179 | + run: npm publish --access public |
| 180 | + env: |
| 181 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 182 | + |
| 183 | + - name: 📦 @uiw/react-breadcrumb publish to NPM |
| 184 | + continue-on-error: true |
| 185 | + working-directory: ./packages/react-breadcrumb/ |
| 186 | + run: npm publish --access public |
| 187 | + env: |
| 188 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 189 | + |
| 190 | + - name: 📦 @uiw/react-button publish to NPM |
| 191 | + continue-on-error: true |
| 192 | + working-directory: ./packages/react-button/ |
| 193 | + run: npm publish --access public |
| 194 | + env: |
| 195 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 196 | + |
| 197 | + - name: 📦 @uiw/react-button-group publish to NPM |
| 198 | + continue-on-error: true |
| 199 | + working-directory: ./packages/react-button-group/ |
| 200 | + run: npm publish --access public |
| 201 | + env: |
| 202 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 203 | + |
| 204 | + - name: 📦 @uiw/react-calendar publish to NPM |
| 205 | + continue-on-error: true |
| 206 | + working-directory: ./packages/react-calendar/ |
| 207 | + run: npm publish --access public |
| 208 | + env: |
| 209 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 210 | + |
| 211 | + - name: 📦 @uiw/react-card publish to NPM |
| 212 | + continue-on-error: true |
| 213 | + working-directory: ./packages/react-card/ |
| 214 | + run: npm publish --access public |
| 215 | + env: |
| 216 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 217 | + |
| 218 | + - name: 📦 @uiw/react-carousel publish to NPM |
| 219 | + continue-on-error: true |
| 220 | + working-directory: ./packages/react-carousel/ |
| 221 | + run: npm publish --access public |
| 222 | + env: |
| 223 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 224 | + |
| 225 | + - name: 📦 @uiw/react-cascader publish to NPM |
| 226 | + continue-on-error: true |
| 227 | + working-directory: ./packages/react-cascader/ |
| 228 | + run: npm publish --access public |
| 229 | + env: |
| 230 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 231 | + |
| 232 | + - name: 📦 @uiw/react-checkbox publish to NPM |
| 233 | + continue-on-error: true |
| 234 | + working-directory: ./packages/react-checkbox/ |
| 235 | + run: npm publish --access public |
| 236 | + env: |
| 237 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 238 | + |
| 239 | + - name: 📦 @uiw/react-collapse publish to NPM |
| 240 | + continue-on-error: true |
| 241 | + working-directory: ./packages/react-collapse/ |
| 242 | + run: npm publish --access public |
| 243 | + env: |
| 244 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 245 | + |
| 246 | + - name: 📦 @uiw/react-copy-to-clipboard publish to NPM |
| 247 | + continue-on-error: true |
| 248 | + working-directory: ./packages/react-copy-to-clipboard/ |
| 249 | + run: npm publish --access public |
| 250 | + env: |
| 251 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 252 | + |
| 253 | + - name: 📦 @uiw/react-date-input publish to NPM |
| 254 | + continue-on-error: true |
| 255 | + working-directory: ./packages/react-date-input/ |
| 256 | + run: npm publish --access public |
| 257 | + env: |
| 258 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 259 | + |
| 260 | + - name: 📦 @uiw/react-date-picker publish to NPM |
| 261 | + continue-on-error: true |
| 262 | + working-directory: ./packages/react-date-picker/ |
| 263 | + run: npm publish --access public |
| 264 | + env: |
| 265 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 266 | + |
| 267 | + - name: 📦 @uiw/react-descriptions publish to NPM |
| 268 | + continue-on-error: true |
| 269 | + working-directory: ./packages/react-descriptions/ |
| 270 | + run: npm publish --access public |
| 271 | + env: |
| 272 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 273 | + |
| 274 | + - name: 📦 @uiw/react-divider publish to NPM |
| 275 | + continue-on-error: true |
| 276 | + working-directory: ./packages/react-divider/ |
| 277 | + run: npm publish --access public |
| 278 | + env: |
| 279 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 280 | + |
| 281 | + - name: 📦 @uiw/react-drawer publish to NPM |
| 282 | + continue-on-error: true |
| 283 | + working-directory: ./packages/react-drawer/ |
| 284 | + run: npm publish --access public |
| 285 | + env: |
| 286 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 287 | + |
| 288 | + - name: 📦 @uiw/react-dropdown publish to NPM |
| 289 | + continue-on-error: true |
| 290 | + working-directory: ./packages/react-dropdown/ |
| 291 | + run: npm publish --access public |
| 292 | + env: |
| 293 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 294 | + |
| 295 | + - name: 📦 @uiw/react-empty publish to NPM |
| 296 | + continue-on-error: true |
| 297 | + working-directory: ./packages/react-empty/ |
| 298 | + run: npm publish --access public |
| 299 | + env: |
| 300 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 301 | + |
| 302 | + - name: 📦 @uiw/react-file-input publish to NPM |
| 303 | + continue-on-error: true |
| 304 | + working-directory: ./packages/react-file-input/ |
| 305 | + run: npm publish --access public |
| 306 | + env: |
| 307 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 308 | + |
| 309 | + - name: 📦 @uiw/react-form publish to NPM |
| 310 | + continue-on-error: true |
| 311 | + working-directory: ./packages/react-form/ |
| 312 | + run: npm publish --access public |
| 313 | + env: |
| 314 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 315 | + |
| 316 | + - name: 📦 @uiw/react-grid publish to NPM |
| 317 | + continue-on-error: true |
| 318 | + working-directory: ./packages/react-grid/ |
| 319 | + run: npm publish --access public |
| 320 | + env: |
| 321 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 322 | + |
| 323 | + - name: 📦 @uiw/react-icon publish to NPM |
| 324 | + continue-on-error: true |
| 325 | + working-directory: ./packages/react-icon/ |
| 326 | + run: npm publish --access public |
| 327 | + env: |
| 328 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 329 | + |
| 330 | + - name: 📦 @uiw/react-input publish to NPM |
| 331 | + continue-on-error: true |
| 332 | + working-directory: ./packages/react-input/ |
| 333 | + run: npm publish --access public |
| 334 | + env: |
| 335 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 336 | + |
| 337 | + - name: 📦 @uiw/react-list publish to NPM |
| 338 | + continue-on-error: true |
| 339 | + working-directory: ./packages/react-list/ |
| 340 | + run: npm publish --access public |
| 341 | + env: |
| 342 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 343 | + |
| 344 | + - name: 📦 @uiw/react-loader publish to NPM |
| 345 | + continue-on-error: true |
| 346 | + working-directory: ./packages/react-loader/ |
| 347 | + run: npm publish --access public |
| 348 | + env: |
| 349 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 350 | + |
| 351 | + - name: 📦 @uiw/react-menu publish to NPM |
| 352 | + continue-on-error: true |
| 353 | + working-directory: ./packages/react-menu/ |
| 354 | + run: npm publish --access public |
| 355 | + env: |
| 356 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 357 | + |
| 358 | + - name: 📦 @uiw/react-message publish to NPM |
| 359 | + continue-on-error: true |
| 360 | + working-directory: ./packages/react-message/ |
| 361 | + run: npm publish --access public |
| 362 | + env: |
| 363 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 364 | + |
| 365 | + - name: 📦 @uiw/react-modal publish to NPM |
| 366 | + continue-on-error: true |
| 367 | + working-directory: ./packages/react-modal/ |
| 368 | + run: npm publish --access public |
| 369 | + env: |
| 370 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 371 | + |
| 372 | + - name: 📦 @uiw/react-month-picker publish to NPM |
| 373 | + continue-on-error: true |
| 374 | + working-directory: ./packages/react-month-picker/ |
| 375 | + run: npm publish --access public |
| 376 | + env: |
| 377 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 378 | + |
| 379 | + - name: 📦 @uiw/react-notify publish to NPM |
| 380 | + continue-on-error: true |
| 381 | + working-directory: ./packages/react-notify/ |
| 382 | + run: npm publish --access public |
| 383 | + env: |
| 384 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 385 | + |
| 386 | + - name: 📦 @uiw/react-overlay publish to NPM |
| 387 | + continue-on-error: true |
| 388 | + working-directory: ./packages/react-overlay/ |
| 389 | + run: npm publish --access public |
| 390 | + env: |
| 391 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 392 | + |
| 393 | + - name: 📦 @uiw/react-overlay-trigger publish to NPM |
| 394 | + continue-on-error: true |
| 395 | + working-directory: ./packages/react-overlay-trigger/ |
| 396 | + run: npm publish --access public |
| 397 | + env: |
| 398 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 399 | + |
| 400 | + - name: 📦 @uiw/react-pagination publish to NPM |
| 401 | + continue-on-error: true |
| 402 | + working-directory: ./packages/react-pagination/ |
| 403 | + run: npm publish --access public |
| 404 | + env: |
| 405 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 406 | + |
| 407 | + - name: 📦 @uiw/react-pin-code publish to NPM |
| 408 | + continue-on-error: true |
| 409 | + working-directory: ./packages/react-pin-code/ |
| 410 | + run: npm publish --access public |
| 411 | + env: |
| 412 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 413 | + |
| 414 | + - name: 📦 @uiw/react-popover publish to NPM |
| 415 | + continue-on-error: true |
| 416 | + working-directory: ./packages/react-popover/ |
| 417 | + run: npm publish --access public |
| 418 | + env: |
| 419 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 420 | + |
| 421 | + - name: 📦 @uiw/react-portal publish to NPM |
| 422 | + continue-on-error: true |
| 423 | + working-directory: ./packages/react-portal/ |
| 424 | + run: npm publish --access public |
| 425 | + env: |
| 426 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 427 | + |
| 428 | + - name: 📦 @uiw/react-progress publish to NPM |
| 429 | + continue-on-error: true |
| 430 | + working-directory: ./packages/react-progress/ |
| 431 | + run: npm publish --access public |
| 432 | + env: |
| 433 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 434 | + |
| 435 | + - name: 📦 @uiw/react-radio publish to NPM |
| 436 | + continue-on-error: true |
| 437 | + working-directory: ./packages/react-radio/ |
| 438 | + run: npm publish --access public |
| 439 | + env: |
| 440 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 441 | + |
| 442 | + - name: 📦 @uiw/react-rate publish to NPM |
| 443 | + continue-on-error: true |
| 444 | + working-directory: ./packages/react-rate/ |
| 445 | + run: npm publish --access public |
| 446 | + env: |
| 447 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 448 | + |
| 449 | + - name: 📦 @uiw/react-search-select publish to NPM |
| 450 | + continue-on-error: true |
| 451 | + working-directory: ./packages/react-search-select/ |
| 452 | + run: npm publish --access public |
| 453 | + env: |
| 454 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 455 | + |
| 456 | + - name: 📦 @uiw/react-search-tree publish to NPM |
| 457 | + continue-on-error: true |
| 458 | + working-directory: ./packages/react-search-tree/ |
| 459 | + run: npm publish --access public |
| 460 | + env: |
| 461 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 462 | + |
| 463 | + - name: 📦 @uiw/react-select publish to NPM |
| 464 | + continue-on-error: true |
| 465 | + working-directory: ./packages/react-select/ |
| 466 | + run: npm publish --access public |
| 467 | + env: |
| 468 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 469 | + |
| 470 | + - name: 📦 @uiw/react-slider publish to NPM |
| 471 | + continue-on-error: true |
| 472 | + working-directory: ./packages/react-slider/ |
| 473 | + run: npm publish --access public |
| 474 | + env: |
| 475 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 476 | + |
| 477 | + - name: 📦 @uiw/react-steps publish to NPM |
| 478 | + continue-on-error: true |
| 479 | + working-directory: ./packages/react-steps/ |
| 480 | + run: npm publish --access public |
| 481 | + env: |
| 482 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 483 | + |
| 484 | + - name: 📦 @uiw/react-switch publish to NPM |
| 485 | + continue-on-error: true |
| 486 | + working-directory: ./packages/react-switch/ |
| 487 | + run: npm publish --access public |
| 488 | + env: |
| 489 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 490 | + |
| 491 | + - name: 📦 @uiw/react-table publish to NPM |
| 492 | + continue-on-error: true |
| 493 | + working-directory: ./packages/react-table/ |
| 494 | + run: npm publish --access public |
| 495 | + env: |
| 496 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 497 | + |
| 498 | + - name: 📦 @uiw/react-tabs publish to NPM |
| 499 | + continue-on-error: true |
| 500 | + working-directory: ./packages/react-tabs/ |
| 501 | + run: npm publish --access public |
| 502 | + env: |
| 503 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 504 | + |
| 505 | + - name: 📦 @uiw/react-tag publish to NPM |
| 506 | + continue-on-error: true |
| 507 | + working-directory: ./packages/react-tag/ |
| 508 | + run: npm publish --access public |
| 509 | + env: |
| 510 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 511 | + |
| 512 | + - name: 📦 @uiw/react-textarea publish to NPM |
| 513 | + continue-on-error: true |
| 514 | + working-directory: ./packages/react-textarea/ |
| 515 | + run: npm publish --access public |
| 516 | + env: |
| 517 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 518 | + |
| 519 | + - name: 📦 @uiw/react-time-picker publish to NPM |
| 520 | + continue-on-error: true |
| 521 | + working-directory: ./packages/react-time-picker/ |
| 522 | + run: npm publish --access public |
| 523 | + env: |
| 524 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 525 | + |
| 526 | + - name: 📦 @uiw/react-tooltip publish to NPM |
| 527 | + continue-on-error: true |
| 528 | + working-directory: ./packages/react-tooltip/ |
| 529 | + run: npm publish --access public |
| 530 | + env: |
| 531 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 532 | + |
| 533 | + - name: 📦 @uiw/react-tree publish to NPM |
| 534 | + continue-on-error: true |
| 535 | + working-directory: ./packages/react-tree/ |
| 536 | + run: npm publish --access public |
| 537 | + env: |
| 538 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 539 | + |
| 540 | + - name: 📦 @uiw/react-tree-checked publish to NPM |
| 541 | + continue-on-error: true |
| 542 | + working-directory: ./packages/react-tree-checked/ |
| 543 | + run: npm publish --access public |
| 544 | + env: |
| 545 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 546 | + |
| 547 | + - name: 📦 @uiw/react-transfer publish to NPM |
| 548 | + continue-on-error: true |
| 549 | + working-directory: ./packages/react-transfer/ |
| 550 | + run: npm publish --access public |
| 551 | + env: |
| 552 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 553 | + |
| 554 | + - name: 📦 @uiw/utils publish to NPM |
| 555 | + continue-on-error: true |
| 556 | + working-directory: ./packages/utils/ |
| 557 | + run: npm publish --access public |
| 558 | + env: |
| 559 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 560 | + |
| 561 | + - name: 📦 @uiw/uiw publish to NPM |
| 562 | + continue-on-error: true |
| 563 | + working-directory: ./packages/uiw/ |
| 564 | + run: npm publish --access public |
| 565 | + env: |
| 566 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 567 | + |
| 568 | + - name: 📦 @uiw/doc publish to NPM |
| 569 | + continue-on-error: true |
| 570 | + working-directory: ./packages/doc/ |
| 571 | + run: npm publish --access public |
| 572 | + env: |
| 573 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 574 | + |
0 commit comments