mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-06-03 16:14:24 +00:00
Update ci.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user