mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: local tests stop existing plz
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
name: Local Tests Only
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "handlers/**"
|
||||
- "helpers/**"
|
||||
- "plugins/**"
|
||||
- "rest/**"
|
||||
- "tests/**"
|
||||
- "transformers/**"
|
||||
- "template/**"
|
||||
- "types/**"
|
||||
- "util/**"
|
||||
- "gateway/**"
|
||||
pull_request:
|
||||
paths:
|
||||
- "handlers/**"
|
||||
- "helpers/**"
|
||||
- "plugins/**"
|
||||
- "rest/**"
|
||||
- "tests/**"
|
||||
- "transformers/**"
|
||||
- "template/**"
|
||||
- "types/**"
|
||||
- "util/**"
|
||||
- "gateway/**"
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
deno: ["v1.x"]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: denoland/setup-deno@main
|
||||
with:
|
||||
deno-version: ${{ matrix.deno }}
|
||||
- name: Cache dependencies
|
||||
run: deno cache mod.ts
|
||||
- name: Cache Templates
|
||||
run: deno cache template/beginner/mod.ts template/bigbot/src/bot/mod.ts template/bigbot/src/gateway/mod.ts template/bigbot/src/rest/mod.ts template/minimal/mod.ts
|
||||
- name: Run Local tests that don't need Discord's API
|
||||
run: deno test -A testss/utils.test.ts
|
||||
Reference in New Issue
Block a user