Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@ Or, if you've installed the package globally:
action-validator <path_to_action_yaml>
```

The CLI distributed via NPM supports all the same options as the native binary.

## Node API

The Node API can be used to validate action and workflow files from Node.js as follows:

> ⚠️ The Node API does not currently support glob validation.

```ts
import { readFileSync } from "fs";
import { validateAction, validateWorkflow } from "@action-validator/core";
Expand Down
Loading
Loading