We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aa32a7 commit 67029a8Copy full SHA for 67029a8
src/main.ts
@@ -1,13 +1,14 @@
1
import * as core from '@actions/core'
2
//import { diffString } from 'json-diff'
3
-import Ajv from 'ajv/dist/2020'
+import Ajv from 'ajv'
4
import * as fs from 'fs'
5
6
export async function run(): Promise<void> {
7
try {
8
const schemaPath: string = core.getInput('schemaPath')
9
const validate: boolean = core.getBooleanInput('validate')
10
const diff: boolean = core.getBooleanInput('createDiff')
11
+ // @ts-expect-error Construction works
12
const ajv = new Ajv()
13
14
let message: string =
0 commit comments