diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 076e553..55f01fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,10 +32,10 @@ jobs: deno-version: ${{ matrix.deno }} - name: Install packages - run: deno add @cross/test @std/assert + run: deno install - name: Run tests canary - run: deno task test + run: deno task test:deno node-test: runs-on: ${{ matrix.os }} @@ -59,6 +59,9 @@ jobs: - name: Install packages run: npx jsr add @cross/test @std/assert + - name: Add package.json + run: "echo '{ \"type\": \"module\" }' > package.json" + - name: Run tests run: deno task test:node @@ -74,4 +77,4 @@ jobs: deno-version: canary - name: Check linting - run: deno task lint \ No newline at end of file + run: deno task lint diff --git a/package.json b/package.json deleted file mode 100644 index 7e971b1..0000000 --- a/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "module", - "dependencies": { - "@cross/test": "npm:@jsr/cross__test@^0.0.9", - "@std/assert": "npm:@jsr/std__assert@^1.0.2" - } -}