File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 42
42
location : ${{ runner.temp }}/json-schema
43
43
file-name : package-json-schema.json
44
44
45
+ # This schema is referenced by the package.json schema, so must also be accessible.
46
+ - name : Download JSON schema for ava.json
47
+ id : download-ava-schema
48
+ uses : carlosperate/download-file-action@v1
49
+ with :
50
+ # See: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/ava.json
51
+ file-url : https://json.schemastore.org/ava.json
52
+ location : ${{ runner.temp }}/json-schema
53
+ file-name : ava.json
54
+
45
55
# This schema is referenced by the package.json schema, so must also be accessible.
46
56
- name : Download JSON schema for eslintrc.json
47
57
id : download-eslintrc-schema
71
81
# See: https://github.com/ajv-validator/ajv-cli#readme
72
82
ajv validate \
73
83
-s "${{ steps.download-schema.outputs.file-path }}" \
84
+ -r "${{ steps.download-ava-schema.outputs.file-path }}" \
74
85
-r "${{ steps.download-eslintrc-schema.outputs.file-path }}" \
75
86
-r "${{ steps.download-prettierrc-schema.outputs.file-path }}" \
76
87
-d "./**/package.json"
You can’t perform that action at this time.
0 commit comments