mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-06-05 06:14:26 +00:00
feat(ci): validation
This commit is contained in:
+1
-5
@@ -1,8 +1,4 @@
|
||||
* @phenax @wdhdev
|
||||
* @wdhdev
|
||||
|
||||
/.github/ @wdhdev
|
||||
/domains/ @is-a-dev/maintainers
|
||||
|
||||
*.md @is-a-dev/maintainers
|
||||
/LICENSE @phenax
|
||||
/dnsconfig.js @wdhdev
|
||||
|
||||
@@ -7,7 +7,9 @@ on:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "domains/*"
|
||||
- ".github/workflows/validation.yml"
|
||||
- "tests/*"
|
||||
- "utils/*"
|
||||
- ".github/workflows/validate.yml"
|
||||
- "dnsconfig.js"
|
||||
|
||||
workflow_dispatch:
|
||||
@@ -28,15 +30,12 @@ jobs:
|
||||
with:
|
||||
args: check
|
||||
|
||||
json:
|
||||
name: JSON
|
||||
tests:
|
||||
name: Tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: JSON Syntax Check
|
||||
uses: limitusus/json-syntax-check@v2
|
||||
with:
|
||||
pattern: "\\.json$"
|
||||
env:
|
||||
BASE: "domains/"
|
||||
- run: npm install
|
||||
|
||||
- run: npm test
|
||||
Reference in New Issue
Block a user