Skip to content

Commit 6ebc312

Browse files
committed
ci: add tests for Bun and Deno
1 parent 13b2463 commit 6ebc312

File tree

6 files changed

+41
-1
lines changed

6 files changed

+41
-1
lines changed

.github/workflows/ci_compatibility-bun.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: '🔬 CI — Compatibility'
22

33
on:
4+
push:
5+
branches:
6+
- 'main'
7+
paths:
8+
- '.github/workflows/ci_compatibility-bun.yml'
9+
- 'src/**'
10+
- 'test/**'
11+
- 'package-lock.json'
12+
- 'package.json'
413
pull_request:
514
paths:
615
- '.github/workflows/ci_compatibility-bun.yml'

.github/workflows/ci_compatibility-deno.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: '🔬 CI — Compatibility'
22

33
on:
4+
push:
5+
branches:
6+
- 'main'
7+
paths:
8+
- '.github/workflows/ci_compatibility-deno.yml'
9+
- 'src/**'
10+
- 'test/**'
11+
- 'package-lock.json'
12+
- 'package.json'
413
pull_request:
514
paths:
615
- '.github/workflows/ci_compatibility-deno.yml'

.github/workflows/ci_compatibility-nodejs.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: '🔬 CI — Compatibility'
22

33
on:
4+
push:
5+
branches:
6+
- 'main'
7+
paths:
8+
- '.github/workflows/ci_compatibility-nodejs.yml'
9+
- 'src/**'
10+
- 'test/**'
11+
- 'package-lock.json'
12+
- 'package.json'
413
pull_request:
514
paths:
615
- '.github/workflows/ci_compatibility-nodejs.yml'

codecov.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
target: 95%
6+
threshold: 2%
7+
patch:
8+
default:
9+
target: 0%
10+
threshold: 100%

deno.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"unstable": ["sloppy-imports"]
3+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"scripts": {
3030
"test": "poku",
3131
"test:bun": "bun poku",
32-
"test:deno": "deno run -A poku:canary --denoAllow=all",
32+
"test:deno": "deno run -A npm:poku@canary --denoAllow=all",
3333
"test:coverage": "c8 --experimental-monocart npm test",
3434
"build": "tsc",
3535
"lint": "biome lint --error-on-warnings && prettier --check .",

0 commit comments

Comments
 (0)