diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91d81f6e7..c3a06ac0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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