File tree 5 files changed +58
-11
lines changed
5 files changed +58
-11
lines changed Original file line number Diff line number Diff line change
1
+ name : build
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : ["*"]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ matrix :
15
+ node-version : [10.x, 12.x, 14.x]
16
+
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ - name : Use Node.js ${{ matrix.node-version }}
20
+ uses : actions/setup-node@v1
21
+ with :
22
+ node-version : ${{ matrix.node-version }}
23
+ - run : npm install
24
+ - run : npm test
25
+ - name : Coveralls
26
+ uses : coverallsapp/github-action@master
27
+ with :
28
+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : publish
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ publish-npm :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-node@v1
13
+ with :
14
+ node-version : 14
15
+ registry-url : https://registry.npmjs.org/
16
+ - run : npm install
17
+ - run : npm test
18
+ - name : Publish beta version to npm
19
+ if : " github.event.release.prerelease"
20
+ run : npm publish --tag beta
21
+ env :
22
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
23
+ - name : Publish to npm
24
+ if : " !github.event.release.prerelease"
25
+ run : npm publish
26
+ env :
27
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 36
36
},
37
37
"homepage" : " https://github.com/epoberezkin/ajv-errors#readme" ,
38
38
"peerDependencies" : {
39
- "ajv" : " ^7.0.0-beta.7 "
39
+ "ajv" : " ^7.0.0"
40
40
},
41
41
"devDependencies" : {
42
42
"@ajv-validator/config" : " ^0.3.0" ,
43
43
"@types/jest" : " ^26.0.15" ,
44
44
"@types/node" : " ^14.14.7" ,
45
45
"@typescript-eslint/eslint-plugin" : " ^4.7.0" ,
46
46
"@typescript-eslint/parser" : " ^4.7.0" ,
47
- "ajv" : " ^7.0.0-beta.7 " ,
47
+ "ajv" : " ^7.0.0" ,
48
48
"eslint" : " ^7.2.0" ,
49
49
"eslint-config-prettier" : " ^6.15.0" ,
50
50
"husky" : " ^4.3.0" ,
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ const used: Name = new Name("emUsed")
30
30
const KEYWORD_PROPERTY_PARAMS = {
31
31
required : "missingProperty" ,
32
32
dependencies : "property" ,
33
+ dependentRequired : "property" ,
33
34
}
34
35
35
36
export interface ErrorMessageOptions {
You can’t perform that action at this time.
0 commit comments