Update publish.yml

This commit is contained in:
William Harrison
2025-03-13 12:37:26 +08:00
committed by GitHub
parent e6b7ec3e15
commit ce714c2c20
+4 -4
View File
@@ -21,10 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run tests
run: |
npm install
npx ava tests/*.test.js
- name: Run DNSControl tests
uses: is-a-dev/dnscontrol-action@main
with:
args: check
- name: Generate creds.json
run: echo '{"cloudflare":{"TYPE":"CLOUDFLAREAPI","apitoken":"$CLOUDFLARE_API_TOKEN"}}' > ./creds.json