From 3a66350a9827a3bdcdf972a1969900990852c6b3 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 13 Mar 2025 20:06:41 +0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3267184a3..1521b5990d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,5 +44,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