44 branches :
55 - main
66
7- # env:
8- # SKIP_PREFLIGHT_CHECK: true
97jobs :
108 windows :
11- runs-on : windows-2019
9+ runs-on : windows-latest
1210 steps :
1311 - uses : actions/checkout@v3
1412 - uses : actions/setup-node@v3
1513 with :
1614 node-version : 16
1715
1816 - name : Look Changelog
19- uses : jaywcjlove/changelog-generator@v1.4.8
17+ uses : jaywcjlove/changelog-generator@main
2018 with :
2119 token : ${{ secrets.GITHUB_TOKEN }}
2220 filter-author : (小弟调调™|Renovate Bot|renovate-bot)
@@ -28,15 +26,16 @@ jobs:
2826 - run : npm run doc
2927
3028 build :
31- runs-on : ubuntu-18.04
29+ runs-on : ubuntu-latest
3230 steps :
3331 - uses : actions/checkout@v3
3432 - uses : actions/setup-node@v3
3533 with :
3634 node-version : 16
35+ registry-url : ' https://registry.npmjs.org'
3736
3837 - name : Look Changelog
39- uses : jaywcjlove/changelog-generator@v1.4.8
38+ uses : jaywcjlove/changelog-generator@main
4039 with :
4140 token : ${{ secrets.GITHUB_TOKEN }}
4241 filter-author : (小弟调调™|Renovate Bot|renovate-bot)
@@ -67,13 +66,13 @@ jobs:
6766
6867 - name : Is a tag created auto?
6968 id : create_tag
70- uses : jaywcjlove/create-tag-action@v1.3.6
69+ uses : jaywcjlove/create-tag-action@main
7170 with :
7271 package-path : ./core/package.json
7372
7473 - name : get tag version
7574 id : tag_version
76- uses : jaywcjlove/changelog-generator@v1.5.3
75+ uses : jaywcjlove/changelog-generator@main
7776
7877 - name : Deploy
7978 uses : peaceiris/actions-gh-pages@v3
8483
8584 - name : Generate Changelog
8685 id : changelog
87- uses : jaywcjlove/changelog-generator@v1.5.3
86+ uses : jaywcjlove/changelog-generator@main
8887 if : steps.create_tag.outputs.successful
8988 with :
9089 head-ref : ${{ steps.create_tag.outputs.version }}
@@ -104,12 +103,9 @@ jobs:
104103
105104 ${{ steps.changelog.outputs.changelog }}
106105
107- # - run: git status
108- # - run: npm install @jsdevtools/npm-publish -g
109- # - run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./core/package.json
110-
111- - name : 📦 @uiw/react-layout publish to NPM
112- uses : JS-DevTools/npm-publish@v1
113- with :
114- token : ${{ secrets.NPM_TOKEN }}
115- package : ./core/package.json
106+ - run : npm publish --access public
107+ name : 📦 @uiw/react-layout publish to NPM
108+ working-directory : ./core/
109+ continue-on-error : true
110+ env :
111+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
0 commit comments