File tree Expand file tree Collapse file tree 2 files changed +37
-6
lines changed Expand file tree Collapse file tree 2 files changed +37
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Publishing to NPM
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v1
11
+ - uses : actions/setup-node@v1
12
+ with :
13
+ node-version : 12
14
+ - run : npm install
15
+ - id : publish
16
+ uses : JS-DevTools/npm-publish@v1
17
+ with :
18
+ token : ${{ secrets.NPM_TOKEN }}
19
+ - if : steps.publish.outputs.type != 'none'
20
+ run : |
21
+ echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-check-file" ,
3
- "version" : " 0 .0.0" ,
4
- "description" : " ESLint rules for consistent filename and folder" ,
3
+ "version" : " 1 .0.0" ,
4
+ "description" : " ESLint rules for consistent filename and folder. Allows you to enforce a consistent naming pattern for the filename and folder " ,
5
5
"keywords" : [
6
6
" eslint" ,
7
7
" eslintplugin" ,
8
8
" eslint-plugin" ,
9
9
" folder" ,
10
10
" path" ,
11
11
" file" ,
12
- " filename"
12
+ " filename" ,
13
+ " glob-matching" ,
14
+ " naming-conventions"
13
15
],
14
- "author" : " Duke Luo <dukeluo@outlook.com>" ,
16
+ "repository" : {
17
+ "type" : " git" ,
18
+ "url" : " git+https://github.com/DukeLuo/eslint-plugin-check-file.git"
19
+ },
20
+ "author" : " Duke Luo <dukeluo@outlook.com> (https://dukeluo.me)" ,
21
+ "license" : " Apache-2.0" ,
22
+ "bugs" : {
23
+ "url" : " https://github.com/DukeLuo/eslint-plugin-check-file/issues"
24
+ },
25
+ "homepage" : " https://github.com/DukeLuo/eslint-plugin-check-file" ,
15
26
"main" : " lib/index.js" ,
16
27
"scripts" : {
17
28
"lint" : " eslint ." ,
36
47
},
37
48
"peerDependencies" : {
38
49
"eslint" : " >=6"
39
- },
40
- "license" : " Apache-2.0"
50
+ }
41
51
}
You can’t perform that action at this time.
0 commit comments