6
6
7
7
jobs :
8
8
build-deploy :
9
- runs-on : ubuntu-18.04
9
+ runs-on : ubuntu-latest
10
10
steps :
11
11
- uses : actions/checkout@v3
12
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 run build
@@ -40,13 +41,13 @@ jobs:
40
41
41
42
- name : Create Tag
42
43
id : create_tag
43
- uses : jaywcjlove/create-tag-action@v1.3.8
44
+ uses : jaywcjlove/create-tag-action@main
44
45
with :
45
46
package-path : ./package.json
46
47
47
48
- name : get tag version
48
49
id : tag_version
49
- uses : jaywcjlove/changelog-generator@v1.5.7
50
+ uses : jaywcjlove/changelog-generator@main
50
51
51
52
- name : Deploy
52
53
uses : peaceiris/actions-gh-pages@v3
57
58
58
59
- name : Generate Changelog
59
60
id : changelog
60
- uses : jaywcjlove/changelog-generator@v1.5.7
61
+ uses : jaywcjlove/changelog-generator@main
61
62
with :
62
63
head-ref : ${{steps.create_tag.outputs.version}}
63
64
filter-author : (renovate-bot|Renovate Bot)
@@ -82,11 +83,11 @@ jobs:
82
83
83
84
${{ steps.changelog.outputs.changelog }}
84
85
85
- - name : 📦 colors-named-hex publish to NPM
86
- uses : JS-DevTools/npm- publish@v1
87
- with :
88
- token : ${{ secrets.NPM_TOKEN }}
89
- package : ./package.json
86
+ - run : npm publish
87
+ name : 📦 colors-named-hex publish to NPM
88
+ continue-on-error : true
89
+ env :
90
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
90
91
91
92
outputs :
92
93
successful : ${{steps.create_tag.outputs.successful }}
@@ -114,5 +115,7 @@ jobs:
114
115
{ "name": "@jaywcjlove/colors-named-hex" }
115
116
116
117
- run : npm publish
118
+ name : 📦 @jaywcjlove/colors-named-hex publish to NPM
119
+ continue-on-error : true
117
120
env :
118
121
NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
0 commit comments