Skip to content

Commit fb3b030

Browse files
committed
ci: run tests
1 parent 4814b77 commit fb3b030

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ jobs:
4242
with:
4343
nix_version: 2.31.2
4444
- run: nix fmt . -- --check
45+
test:
46+
name: Run tests
47+
runs-on: ubuntu-24.04
48+
steps:
49+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
50+
- uses: nixbuild/nix-quick-install-action@2c9db80fb984ceb1bcaa77cdda3fdf8cfba92035 # v34
51+
with:
52+
nix_version: 2.31.2
53+
- uses: nicknovitski/nix-develop@9be7cfb4b10451d3390a75dc18ad0465bed4932a # v1
54+
- run: deno task build
55+
- run: deno test --allow-read
4556
typecheck:
4657
name: Check TypeScript
4758
runs-on: ubuntu-24.04

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
},
1313
"tasks": {
1414
"build": "deno run --allow-env --allow-read --allow-run --allow-write build.ts",
15-
"test": "deno test --allow-read --no-check"
15+
"test": "deno test --allow-read"
1616
}
1717
}

0 commit comments

Comments
 (0)