mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-16 08:15:19 +00:00
add dnscontrol checks to ci
This commit is contained in:
1 parent
a39dbde227
commit
b9a2b2fe3f
1 file changed
+6
@@ -43,5 +43,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
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
|
- name: Run tests
|
||||||
run: npx ava tests/*.test.js --timeout=1m
|
run: npx ava tests/*.test.js --timeout=1m
|
||||||
Reference in new issue
Block a user