mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 17:30:07 +00:00
* ci: add "check" workflow * ci: add check workflow * idk * ci(check): rename to "Type-check"
16 lines
355 B
YAML
16 lines
355 B
YAML
name: Test
|
|
on:
|
|
pull_request:
|
|
types: labeled
|
|
jobs:
|
|
test:
|
|
if: github.event.label.name == 'run-tests'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: denolib/setup-deno@v2
|
|
- name: Run test script
|
|
run: deno test --allow-net --allow-env
|
|
env:
|
|
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
|