mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-22 20:26:33 +00:00
add dnscontrol checks to ci
This commit is contained in:
@@ -43,5 +43,11 @@ jobs:
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
- name: Run DNSControl tests
|
||||
if: github.event_name == 'pull_request' && contains(fromJson(env.CHANGED_FILES), 'dnsconfig.js')
|
||||
uses: is-a-dev/dnscontrol-action@main
|
||||
with:
|
||||
args: check
|
||||
|
||||
- name: Run tests
|
||||
run: npx ava tests/*.test.js --timeout=1m
|
||||
|
||||
Reference in New Issue
Block a user