6
6
7
7
jobs :
8
8
build :
9
- runs-on : ubuntu-18.04
9
+ runs-on : ubuntu-latest
10
10
steps :
11
11
- uses : actions/checkout@v3
12
- - uses : actions/setup-node@v2
12
+ - uses : actions/setup-node@v3
13
13
with :
14
14
node-version : 16
15
+ registry-url : ' https://registry.npmjs.org'
15
16
16
17
- run : npm install
17
18
- run : npm install --workspaces
@@ -28,13 +29,13 @@ jobs:
28
29
29
30
- name : Create Tag
30
31
id : create_tag
31
- uses : jaywcjlove/create-tag-action@v1.3.6
32
+ uses : jaywcjlove/create-tag-action@main
32
33
with :
33
34
package-path : ./core/package.json
34
35
35
36
- name : get tag version
36
37
id : tag_version
37
- uses : jaywcjlove/changelog-generator@v1.5.3
38
+ uses : jaywcjlove/changelog-generator@main
38
39
39
40
- name : Deploy Website
40
41
uses : peaceiris/actions-gh-pages@v3
47
48
48
49
- name : Generate Changelog
49
50
id : changelog
50
- uses : jaywcjlove/changelog-generator@v1.5.3
51
+ uses : jaywcjlove/changelog-generator@main
51
52
with :
52
53
token : ${{ secrets.GITHUB_TOKEN }}
53
54
filter-author : (小弟调调™|dependabot\[bot\]|Renovate Bot)
78
79
github_token : ${{ secrets.GITHUB_TOKEN }}
79
80
publish_dir : ./website/build
80
81
81
- - uses : JS-DevTools/npm-publish@v1
82
- with :
83
- token : ${{ secrets.NPM_TOKEN }}
84
- package : ./core/package.json
82
+ - run : npm publish
83
+ name : 📦 markdown-react-code-preview-loader publish to NPM
84
+ working-directory : core
85
+ continue-on-error : true
86
+ env :
87
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
0 commit comments