chore(CI): fix and simplify caching (#1571)
This commit is contained in:
+2
-4
@@ -1,12 +1,10 @@
|
||||
import * as path from "$std/path/mod.ts";
|
||||
import {
|
||||
assertMatch,
|
||||
assertNotMatch,
|
||||
} from "https://deno.land/std@0.193.0/testing/asserts.ts";
|
||||
import { Status } from "../src/server/deps.ts";
|
||||
import {
|
||||
assert,
|
||||
assertEquals,
|
||||
assertMatch,
|
||||
assertNotMatch,
|
||||
assertStringIncludes,
|
||||
delay,
|
||||
puppeteer,
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
export {
|
||||
assert,
|
||||
assertEquals,
|
||||
assertMatch,
|
||||
assertNotMatch,
|
||||
assertStringIncludes,
|
||||
} from "https://deno.land/std@0.193.0/testing/asserts.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.193.0/testing/snapshot.ts";
|
||||
@@ -25,3 +27,5 @@ export {
|
||||
HTMLElement,
|
||||
HTMLMetaElement,
|
||||
} from "https://esm.sh/linkedom@0.15.1";
|
||||
export { defineConfig, type Preset } from "https://esm.sh/@twind/core@1.1.3";
|
||||
export { default as presetTailwind } from "https://esm.sh/@twind/preset-tailwind@1.1.4";
|
||||
|
||||
+1
-1
@@ -2,6 +2,7 @@ import { ServerContext, Status } from "../server.ts";
|
||||
import {
|
||||
assert,
|
||||
assertEquals,
|
||||
assertMatch,
|
||||
assertStringIncludes,
|
||||
delay,
|
||||
puppeteer,
|
||||
@@ -16,7 +17,6 @@ import {
|
||||
waitForText,
|
||||
withPageName,
|
||||
} from "./test_utils.ts";
|
||||
import { assertMatch } from "https://deno.land/std@0.193.0/testing/asserts.ts";
|
||||
|
||||
const ctx = await ServerContext.fromManifest(manifest, options);
|
||||
const handler = ctx.handler();
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
import { assertEquals } from "https://deno.land/std@0.190.0/testing/asserts.ts";
|
||||
import { assert, delay, puppeteer } from "./deps.ts";
|
||||
import { assert, assertEquals, delay, puppeteer } from "./deps.ts";
|
||||
|
||||
import { cmpStringArray } from "./fixture_twind_hydrate/utils/utils.ts";
|
||||
import { startFreshServer, withPageName } from "./test_utils.ts";
|
||||
|
||||
Reference in New Issue
Block a user