File tree 1 file changed +8
-9
lines changed
1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
build-deploy :
9
- runs-on : ubuntu-18.04
9
+ runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
12
- - uses : actions/setup-node@v2
11
+ - uses : actions/checkout@v3
12
+ - uses : actions/setup-node@v3
13
13
with :
14
- node-version : 14
14
+ node-version : 16
15
15
16
16
- run : npm install
17
17
- run : npm run coverage
@@ -35,14 +35,14 @@ jobs:
35
35
36
36
- name : Is a tag created auto?
37
37
id : create_tag
38
- uses : jaywcjlove/create-tag-action@v1.3.6
38
+ uses : jaywcjlove/create-tag-action@main
39
39
with :
40
40
token : ${{ secrets.GITHUB_TOKEN }}
41
41
package-path : ./package.json
42
42
43
43
- name : get tag version
44
44
id : tag_version
45
- uses : jaywcjlove/changelog-generator@v1.5.3
45
+ uses : jaywcjlove/changelog-generator@main
46
46
47
47
- name : Deploy
48
48
uses : peaceiris/actions-gh-pages@v3
55
55
56
56
- name : Generate Changelog
57
57
id : changelog
58
- uses : jaywcjlove/changelog-generator@v1.5.3
58
+ uses : jaywcjlove/changelog-generator@main
59
59
if : steps.create_tag.outputs.successful
60
60
with :
61
61
token : ${{ secrets.GITHUB_TOKEN }}
@@ -110,8 +110,7 @@ jobs:
110
110
- name : Modify @uiw/react-markdown-preview => @uiwjs/react-markdown-preview
111
111
uses : jaywcjlove/github-action-package@main
112
112
with :
113
- data : |
114
- { "name": "@uiwjs/react-markdown-preview" }
113
+ rename : ' @uiwjs/react-markdown-preview'
115
114
116
115
- run : npm publish
117
116
env :
You can’t perform that action at this time.
0 commit comments