switch-to-deno #1

Merged
qpismont merged 12 commits from switch-to-deno into main 2024-01-25 22:01:26 +01:00
3 changed files with 11 additions and 6 deletions
Showing only changes of commit 7fb3f19df7 - Show all commits

View file

@ -1,9 +1,8 @@
pipeline:
steps:
lint:
image: denoland/deno:${DENO_VERSION}
commands:
- deno ta
- cargo clippy
- deno lint
matrix:
DENO_VERSION:

View file

@ -1,9 +1,15 @@
pipeline:
steps:
test:
image: denoland/deno:${DENO_VERSION}
environment:
- NATS_HOST=nats:4222
commands:
- deno task test
matrix:
DENO_VERSION:
- 1.39.1
services:
nats:
image: nats

View file

@ -7,7 +7,7 @@ import { afterEach, beforeEach, it } from "std/testing/bdd.ts";
let srv!: Service;
const natsServer = "127.0.0.1:4222";
const natsServer = Deno.env.get("NATS_HOST") || "127.0.0.1:4222";
const serviceName = "test-service";
const adaptorName = "nats";
const subject = "test";