Files
discordeno/.github/workflows/test.yml
Workflow config file is invalid. Please check your config file: yaml: line 15: did not find expected key
Skillz4Killz 4e0f5ddc78 test regex
2021-04-08 19:29:39 +00:00

22 lines
582 B
YAML

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
deno: ["v1.x", "nightly"]
steps:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@v2
with:
deno-version: ${{ matrix.deno }}
- name: Cache dependencies
run: deno cache mod.ts
- name: Run test script
if: github.ref == 'refs/heads/main'
# run: deno test --allow-net --allow-env
run: deno test --no-check -A $(find -name "*.ts")
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}