docs -> website

This commit is contained in:
MapleLeaf
2022-01-11 00:24:02 -06:00
parent effd16ed97
commit 6b77971ed5
47 changed files with 64 additions and 65 deletions

View File

@@ -0,0 +1,10 @@
import cypress from "cypress"
import { execa } from "execa"
import waitOn from "wait-on"
await execa("pnpm", ["build"], { stdio: "inherit" })
const app = execa("pnpm", ["start"], { stdio: "inherit" })
await waitOn({ resources: ["http-get://localhost:3000"] })
await cypress.run()
console.log("cypress run done")
app.kill()