Skip to content

Commit 00e80af

Browse files
authored
Merge pull request #15 from Applura/fix-ci
fix ci
2 parents 41f9c95 + fbf38e4 commit 00e80af

File tree

4 files changed

+64
-7
lines changed

4 files changed

+64
-7
lines changed

.github/workflows/default.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@ jobs:
2323

2424
steps:
2525
- name: Setup repo
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Setup Deno
29-
# uses: denoland/setup-deno@v1
30-
uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54
29+
uses: denoland/setup-deno@v2
3130
with:
32-
deno-version: v1.x
31+
deno-version: v2.x
3332

3433
- name: Verify formatting
3534
run: npm run fmt -- --check

deno.lock

Lines changed: 59 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "rollup index.js --file dist/v2.js",
99
"check": "npm run fmt -- --check && npm run lint && npm test",
1010
"test": "deno test --allow-net",
11-
"lint": "deno lint",
11+
"lint": "deno lint --rules-exclude=no-window",
1212
"fmt": "deno fmt"
1313
},
1414
"repository": {

src/client_test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import Client, { isLocalURL } from "./client.js";
22
import {
33
assert,
44
assertEquals,
5-
assertFalse,
65
assertInstanceOf,
76
} from "https://deno.land/std@0.185.0/testing/asserts.ts";
87
import TestServer from "./internal/testing/server.js";
@@ -21,7 +20,7 @@ Deno.test("Client", async (t) => {
2120
const doTest = async (name, fn) =>
2221
await t.step({ name, fn, sanitizeOps: false, sanitizeResources: false });
2322

24-
await doTest("can check if localhost", async (t) => {
23+
await doTest("can check if localhost", () => {
2524
const testUrls = [
2625
{ url: "http://localhost", condition: true },
2726
{ url: "http://localhost:8080", condition: true },

0 commit comments

Comments
 (0)