Skip to content

Commit 0e1c586

Browse files
committed
ci: Add deno compatibility check job
1 parent 93f7819 commit 0e1c586

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,23 @@ jobs:
2626
- run: npm test
2727
- run: npm run lint
2828

29+
check-deno-compatibility:
30+
runs-on: ubuntu-latest
31+
32+
steps:
33+
- uses: actions/checkout@v4
34+
- uses: actions/setup-node@v4
35+
with:
36+
node-version: 18
37+
cache: npm
38+
- uses: denoland/setup-deno@v2
39+
with:
40+
deno-version: v2.x
41+
- run: npm ci
42+
- run: npm run build
43+
- name: Check Deno compatibility
44+
run: deno check dist/**/*.js
45+
2946
publish:
3047
runs-on: ubuntu-latest
3148
if: github.event_name == 'release'

0 commit comments

Comments
 (0)