mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
types are good now
This commit is contained in:
@@ -15,13 +15,13 @@ jobs:
|
||||
with:
|
||||
deno-version: ${{ matrix.deno }}
|
||||
- name: Cache dependencies
|
||||
run: deno cache --no-check mod.ts
|
||||
run: deno cache mod.ts
|
||||
- name: Run test script for maintainers
|
||||
if: ${{ github.actor == 'Skillz4Killz' || github.actor == 'itohatweb' }}
|
||||
run: deno test --unstable --coverage=coverage -A --no-check tests/mod.ts
|
||||
run: deno test --unstable --coverage=coverage -A tests/mod.ts
|
||||
- name: Run test script if label added
|
||||
if: ${{ github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'run-tests' }}
|
||||
run: DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} deno test --unstable --coverage=coverage --allow-net --no-check tests/mod.ts
|
||||
run: DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} deno test --unstable --coverage=coverage --allow-net tests/mod.ts
|
||||
- name: Create coverage report
|
||||
run: deno --unstable coverage ./coverage --lcov > coverage.lcov
|
||||
- name: Collect and upload the coverage report
|
||||
|
||||
Reference in New Issue
Block a user