Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
314159265359879 committed Apr 2, 2024
2 parents ea12036 + 7f0a01a commit 3985d73
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 171 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/lint-schemas.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Lint schemas

on: pull_request
on:
- pull_request
- push

jobs:
lint:
Expand All @@ -15,5 +17,7 @@ jobs:

- name: Set up pnpm
uses: pnpm/action-setup@v3
with:
version: 8

- run: pnpm lint
- run: pnpm test
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm test
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
"name": "lists",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "npx ajv-cli validate -s address.darklist.schema.json -d address.darklist.json"
"test": "npx ajv-cli validate -s address.darklist.schema.json -d address.darklist.json",
"prepare": "husky"
},
"keywords": [],
"author": "",
"license": "ISC"
"license": "ISC",
"devDependencies": {
"husky": "^9.0.11"
}
}
174 changes: 8 additions & 166 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3985d73

Please sign in to comment.