fix: workflow tests file

This commit is contained in:
Skillz4Killz
2021-04-09 14:41:57 +00:00
committed by GitHub
parent 9c53a67dd3
commit 248c476cc6
+2 -2
View File
@@ -15,9 +15,9 @@ jobs:
run: deno cache --no-check mod.ts
- name: Run test script for Devs
if: ${{ github.actor == 'Skillz4Killz' || github.actor == 'itohatweb' || github.actor == 'ayntee' }}
run: deno test -A --no-check
run: deno test -A --no-check tests/mod.ts
- name: Run test script for label
if: ${{ github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'run-tests' }}
run: deno test -A --no-check
run: deno test -A --no-check tests/mod.ts
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}