aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/.github/workflows/reply-schemas-linter.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/.github/workflows/reply-schemas-linter.yml')
-rw-r--r--examples/redis-unstable/.github/workflows/reply-schemas-linter.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/redis-unstable/.github/workflows/reply-schemas-linter.yml b/examples/redis-unstable/.github/workflows/reply-schemas-linter.yml
new file mode 100644
index 0000000..a57a97a
--- /dev/null
+++ b/examples/redis-unstable/.github/workflows/reply-schemas-linter.yml
@@ -0,0 +1,22 @@
1name: Reply-schemas linter
2
3on:
4 push:
5 paths:
6 - 'src/commands/*.json'
7 pull_request:
8 paths:
9 - 'src/commands/*.json'
10
11jobs:
12 reply-schemas-linter:
13 runs-on: ubuntu-latest
14 steps:
15 - uses: actions/checkout@v4
16 - name: Setup nodejs
17 uses: actions/setup-node@v4
18 - name: Install packages
19 run: npm install ajv
20 - name: linter
21 run: node ./utils/reply_schema_linter.js
22