File tree Expand file tree Collapse file tree 6 files changed +19
-10
lines changed Expand file tree Collapse file tree 6 files changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: Node.js CI
5
5
- master
6
6
- alpha
7
7
- beta
8
- - ' dependabot/**'
8
+ - dependabot/**
9
9
pull_request :
10
10
types :
11
11
- opened
@@ -19,12 +19,12 @@ jobs:
19
19
steps :
20
20
- uses : actions/checkout@v2
21
21
- name : Read .nvmrc
22
- run : ' echo ::set-output name=NVMRC::$(cat .nvmrc)'
22
+ run : echo ::set-output name=NVMRC::$(cat .nvmrc)
23
23
id : nvm
24
24
- name : Setup node
25
25
uses : actions/setup-node@v1
26
26
with :
27
- node-version : ' ${{ steps.nvm.outputs.NVMRC }}'
27
+ node-version : ${{ steps.nvm.outputs.NVMRC }}
28
28
- uses : bahmutov/npm-install@v1
29
29
- run : npm test
30
30
release :
@@ -33,15 +33,15 @@ jobs:
33
33
steps :
34
34
- uses : actions/checkout@v2
35
35
- name : Read .nvmrc
36
- run : ' echo ::set-output name=NVMRC::$(cat .nvmrc)'
36
+ run : echo ::set-output name=NVMRC::$(cat .nvmrc)
37
37
id : nvm
38
38
- name : Setup node
39
39
uses : actions/setup-node@v1
40
40
with :
41
- node-version : ' ${{ steps.nvm.outputs.NVMRC }}'
41
+ node-version : ${{ steps.nvm.outputs.NVMRC }}
42
42
- uses : bahmutov/npm-install@v1
43
43
- name : semantic-release
44
44
run : npx semantic-release
45
45
env :
46
- GITHUB_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
47
- NPM_TOKEN : ' ${{ secrets.NPM_PUBLISH_TOKEN }}'
46
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
+ NPM_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
Original file line number Diff line number Diff line change
1
+ _
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ npx --no-install commitlint --edit $1
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ npm test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 17
17
"test" : " npm-run-all --print-label --parallel lint:*" ,
18
18
"lint:js" : " eslint . --cache" ,
19
19
"lint:md" : " remark . --frail" ,
20
- "lint:sensitive" : " ban"
20
+ "lint:sensitive" : " ban" ,
21
+ "prepare" : " husky install"
21
22
},
22
23
"devDependencies" : {
23
24
"@dsmjs/eslint-config" : " 1.0.80" ,
24
25
"@form8ion/commitlint-config" : " ^1.0.6" ,
25
26
"@form8ion/remark-lint-preset" : " ^1.0.1" ,
26
27
"ban-sensitive-files" : " ^1.9.2" ,
27
28
"cz-conventional-changelog" : " ^3.0.2" ,
28
- "husky" : " ^ 6.0.0" ,
29
+ "husky" : " 6.0.0" ,
29
30
"npm-run-all" : " ^4.1.5" ,
30
31
"remark-cli" : " ^9.0.0"
31
32
},
You can’t perform that action at this time.
0 commit comments