Skip to content

Commit

Permalink
add deno check and update to jsr
Browse files Browse the repository at this point in the history
  • Loading branch information
syhol committed Mar 15, 2024
1 parent 54cba10 commit 2a43db1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ jobs:
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: "1.37.0"
deno-version: "1.41.1"

- name: Run Tests
run: cd ./library && deno task test
- name: Run Deno Test in library
run: deno task test
working-directory: library

- name: Run Deno Check in library
run: deno check mod.ts $(find src -name '*.ts')
working-directory: library
4 changes: 2 additions & 2 deletions library/src/testUtils/denoVitestPolyfill.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from 'https://deno.land/std@0.209.0/testing/bdd.ts';
export { it as test } from 'https://deno.land/std@0.209.0/testing/bdd.ts';
export * from 'jsr:@std/testing@0.218.2/bdd';
export { it as test } from 'jsr:@std/testing@0.218.2/bdd';
export { expectTypeOf } from 'npm:[email protected]';
import jestExpect from 'npm:[email protected]';
export const expect = jestExpect.default;

0 comments on commit 2a43db1

Please sign in to comment.