Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mchades committed Sep 7, 2024
1 parent 3ba729f commit f3713dc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@
* under the License.
*/

import com.github.gradle.node.NodeExtension
import com.github.gradle.node.npm.task.NpxTask

configure<NodeExtension> {
version = "21.6.1"
npmVersion = "10.2.4"
download = true
}

tasks {
val lintOpenAPI by registering(NpxTask::class) {
command.set("@redocly/cli@1.5.0")
command.set("@redocly/cli@1.23.1")
args.set(listOf("lint", "--extends=recommended-strict", "${project.projectDir}/open-api/openapi.yaml"))
}

Expand Down

0 comments on commit f3713dc

Please sign in to comment.