chore(CI): fix and simplify caching (#1571)

This commit is contained in:
Asher Gomez
2023-08-02 09:44:42 +02:00
committed by GitHub
parent ecb718b6a7
commit 5e78224f49
9 changed files with 28 additions and 49 deletions
+2 -4
View File
@@ -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,
+4
View File
@@ -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
View File
@@ -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
View File
@@ -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";