Update ci.yml

This commit is contained in:
William Harrison
2025-04-04 14:53:57 +08:00
committed by GitHub
parent 05fe92c116
commit 25088a91ab
-7
View File
@@ -10,7 +10,6 @@ on:
- "tests/*"
- "util/*"
- ".github/workflows/ci.yml"
- "dnsconfig.js"
workflow_dispatch:
@@ -44,11 +43,5 @@ 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