This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree 4 files changed +2591
-62
lines changed
4 files changed +2591
-62
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on : workflow_dispatch
4
+
5
+ jobs :
6
+ release :
7
+ name : Release
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ with :
12
+ fetch-depth : 0
13
+ persist-credentials : false
14
+ - uses : actions/setup-node@v2
15
+
16
+ - name : Install dependencies
17
+ run : yarn install
18
+
19
+ - name : Release on NPM
20
+ run : yarn semantic-release
21
+ env :
22
+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
23
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ # skip in CI
5
+ [ -n " $CI " ] && exit 0
6
+
7
+ # lint commit message
8
+ yarn commitlint --edit $1
Original file line number Diff line number Diff line change 14
14
"start" : " ember server --proxy http://localhost:8000" ,
15
15
"lint:hbs" : " ember-template-lint ." ,
16
16
"lint:js" : " eslint ." ,
17
- "test" : " ember test"
17
+ "test" : " ember test" ,
18
+ "prepare" : " husky install"
18
19
},
19
- "engines" : {
20
- "node" : " 12.* || >= 14.*"
20
+ "commitlint" : {
21
+ "extends" : [
22
+ " @commitlint/config-conventional"
23
+ ]
21
24
},
22
25
"devDependencies" : {
23
26
"@adfinis-sygroup/eslint-config" : " ^1.2.0" ,
27
+ "@adfinis-sygroup/semantic-release-config" : " ^3.2.0" ,
24
28
"@babel/plugin-proposal-object-rest-spread" : " ^7.8.3" ,
25
29
"@ember/jquery" : " ^1.1.0" ,
26
30
"@ember/optional-features" : " ^1.1.0" ,
90
94
"eslint-plugin-node" : " ^9.0.1" ,
91
95
"eslint-plugin-prettier" : " ^3.1.2" ,
92
96
"faker" : " ^4.1.0" ,
97
+ "husky" : " ^7.0.2" ,
93
98
"loader.js" : " ^4.7.0" ,
94
99
"pagination-pager" : " ^3.2.0" ,
95
100
"prettier" : " 1.19.1" ,
96
101
"qunit-dom" : " ^0.8.4" ,
97
102
"sass" : " ^1.24.2" ,
98
103
"typeface-source-sans-pro" : " ^0.0.75"
104
+ },
105
+ "engines" : {
106
+ "node" : " 12.* || >= 14.*"
107
+ },
108
+ "release" : {
109
+ "extends" : " @adfinis-sygroup/semantic-release-config"
99
110
}
100
111
}
You can’t perform that action at this time.
0 commit comments