add dnscontrol checks to ci

This commit is contained in:
William Harrison
2025-04-23 16:32:57 +08:00
committed by GitHub
parent a39dbde227
commit b9a2b2fe3f
+6
View File
@@ -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