diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f07d1741..b7a46dba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,14 +10,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - uses: volta-cli/action@v3 + - uses: denoland/setup-deno@v1 with: - registry-url: https://registry.npmjs.org - - name: Install Dependencies - run: yarn - - name: Prepack - run: yarn prepack - - name: Lint - run: yarn lint - - name: Test - run: yarn test + deno-version: v1.x + - run: deno test -A diff --git a/deno.json b/deno.json index 81a62e2b..6867eb43 100644 --- a/deno.json +++ b/deno.json @@ -15,5 +15,8 @@ }, "imports": { "@deno/dnt": "jsr:@deno/dnt@^0.41.3" + }, + "test": { + "exclude": ["**/sample/*"] } } diff --git a/deno.lock b/deno.lock index 0e9d5661..b3b9a936 100644 --- a/deno.lock +++ b/deno.lock @@ -8,18 +8,22 @@ "jsr:@deno/graph@^0.73.1": "jsr:@deno/graph@0.73.1", "jsr:@std/assert@^0.223.0": "jsr:@std/assert@0.223.0", "jsr:@std/assert@^0.226.0": "jsr:@std/assert@0.226.0", + "jsr:@std/assert@^1.0.5": "jsr:@std/assert@1.0.5", "jsr:@std/bytes@^0.223.0": "jsr:@std/bytes@0.223.0", + "jsr:@std/expect@^1.0.0": "jsr:@std/expect@1.0.3", "jsr:@std/fmt@1": "jsr:@std/fmt@1.0.0", "jsr:@std/fmt@^0.223": "jsr:@std/fmt@0.223.0", "jsr:@std/fs@1": "jsr:@std/fs@1.0.1", "jsr:@std/fs@^0.223": "jsr:@std/fs@0.223.0", "jsr:@std/fs@^0.229.3": "jsr:@std/fs@0.229.3", + "jsr:@std/internal@^1.0.3": "jsr:@std/internal@1.0.3", "jsr:@std/io@^0.223": "jsr:@std/io@0.223.0", "jsr:@std/path@1": "jsr:@std/path@1.0.2", "jsr:@std/path@1.0.0-rc.1": "jsr:@std/path@1.0.0-rc.1", "jsr:@std/path@^0.223": "jsr:@std/path@0.223.0", "jsr:@std/path@^0.225.2": "jsr:@std/path@0.225.2", "jsr:@std/path@^1.0.2": "jsr:@std/path@1.0.2", + "jsr:@std/testing@^1.0.0": "jsr:@std/testing@1.0.2", "jsr:@ts-morph/bootstrap@^0.24.0": "jsr:@ts-morph/bootstrap@0.24.0", "jsr:@ts-morph/common@^0.24.0": "jsr:@ts-morph/common@0.24.0", "npm:@effection/core@2.2.0": "npm:@effection/core@2.2.0", @@ -67,9 +71,22 @@ "@std/assert@0.226.0": { "integrity": "0dfb5f7c7723c18cec118e080fec76ce15b4c31154b15ad2bd74822603ef75b3" }, + "@std/assert@1.0.5": { + "integrity": "e37da8e4033490ce613eec4ac1d78dba1faf5b02a3f6c573a28f15365b9b440f", + "dependencies": [ + "jsr:@std/internal@^1.0.3" + ] + }, "@std/bytes@0.223.0": { "integrity": "84b75052cd8680942c397c2631318772b295019098f40aac5c36cead4cba51a8" }, + "@std/expect@1.0.3": { + "integrity": "d9cbd03323ef7feafd1e969ed85d5edb04ebbd9937b0fe7a52d5ff53be8e913a", + "dependencies": [ + "jsr:@std/assert@^1.0.5", + "jsr:@std/internal@^1.0.3" + ] + }, "@std/fmt@0.223.0": { "integrity": "6deb37794127dfc7d7bded2586b9fc6f5d50e62a8134846608baf71ffc1a5208" }, @@ -91,6 +108,9 @@ "jsr:@std/path@^1.0.2" ] }, + "@std/internal@1.0.3": { + "integrity": "208e9b94a3d5649bd880e9ca38b885ab7651ab5b5303a56ed25de4755fb7b11e" + }, "@std/io@0.223.0": { "integrity": "2d8c3c2ab3a515619b90da2c6ff5ea7b75a94383259ef4d02116b228393f84f1", "dependencies": [ @@ -116,6 +136,9 @@ "@std/path@1.0.2": { "integrity": "a452174603f8c620bd278a380c596437a9eef50c891c64b85812f735245d9ec7" }, + "@std/testing@1.0.2": { + "integrity": "9e8a7f4e26c219addabe7942d09c3450fa0a74e9662341961bc0ef502274dec3" + }, "@ts-morph/bootstrap@0.24.0": { "integrity": "a826a2ef7fa8a7c3f1042df2c034d20744d94da2ee32bf29275bcd4dffd3c060", "dependencies": [