4
4
branches :
5
5
- main
6
6
7
- # env:
8
- # SKIP_PREFLIGHT_CHECK: true
9
7
jobs :
10
8
windows :
11
- runs-on : windows-2019
9
+ runs-on : windows-latest
12
10
steps :
13
11
- uses : actions/checkout@v3
14
12
- uses : actions/setup-node@v3
15
13
with :
16
14
node-version : 16
17
15
18
16
- name : Look Changelog
19
- uses : jaywcjlove/changelog-generator@v1.4.8
17
+ uses : jaywcjlove/changelog-generator@main
20
18
with :
21
19
token : ${{ secrets.GITHUB_TOKEN }}
22
20
filter-author : (小弟调调™|Renovate Bot|renovate-bot)
@@ -28,15 +26,16 @@ jobs:
28
26
- run : npm run doc
29
27
30
28
build :
31
- runs-on : ubuntu-18.04
29
+ runs-on : ubuntu-latest
32
30
steps :
33
31
- uses : actions/checkout@v3
34
32
- uses : actions/setup-node@v3
35
33
with :
36
34
node-version : 16
35
+ registry-url : ' https://registry.npmjs.org'
37
36
38
37
- name : Look Changelog
39
- uses : jaywcjlove/changelog-generator@v1.4.8
38
+ uses : jaywcjlove/changelog-generator@main
40
39
with :
41
40
token : ${{ secrets.GITHUB_TOKEN }}
42
41
filter-author : (小弟调调™|Renovate Bot|renovate-bot)
@@ -67,13 +66,13 @@ jobs:
67
66
68
67
- name : Is a tag created auto?
69
68
id : create_tag
70
- uses : jaywcjlove/create-tag-action@v1.3.6
69
+ uses : jaywcjlove/create-tag-action@main
71
70
with :
72
71
package-path : ./core/package.json
73
72
74
73
- name : get tag version
75
74
id : tag_version
76
- uses : jaywcjlove/changelog-generator@v1.5.3
75
+ uses : jaywcjlove/changelog-generator@main
77
76
78
77
- name : Deploy
79
78
uses : peaceiris/actions-gh-pages@v3
84
83
85
84
- name : Generate Changelog
86
85
id : changelog
87
- uses : jaywcjlove/changelog-generator@v1.5.3
86
+ uses : jaywcjlove/changelog-generator@main
88
87
if : steps.create_tag.outputs.successful
89
88
with :
90
89
head-ref : ${{ steps.create_tag.outputs.version }}
@@ -104,12 +103,9 @@ jobs:
104
103
105
104
${{ steps.changelog.outputs.changelog }}
106
105
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