From 57dcb7cccaf84df6c1ad0551bd0240e849912899 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Tue, 25 Mar 2025 21:59:32 +0100 Subject: [PATCH] add test script and ci --- .gitea/workflows/ci.yaml | 3 +++ package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 8161222..82574f8 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -23,3 +23,6 @@ jobs: - name: Run spellcheck run: bun run check:spell + + - name: Run integration tests + run: bun run test:integration diff --git a/package.json b/package.json index fe696b8..e714694 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "build": "bun build --minify --target bun --outdir dist --sourcemap src/main.ts", "check:code": "eslint src/ --ext .ts", "check:spell": "cspell --config cspell.code.json **/*.ts", - "start": "bun run src/main.ts" + "start": "bun run src/main.ts", + "test:integration": "bun test ./tests/*" }, "devDependencies": { "@types/ts3-nodejs-library": "^2.0.1",