🧪 Tests CI
This commit is contained in:
parent
8068f82f13
commit
186275d1dd
@ -31,6 +31,10 @@ jobs:
|
|||||||
bun-version: 1.2.0
|
bun-version: 1.2.0
|
||||||
- name: Display Bun version
|
- name: Display Bun version
|
||||||
run: bun --version
|
run: bun --version
|
||||||
|
- name: test 1
|
||||||
|
run: ls
|
||||||
|
- name: test 2
|
||||||
|
run: cd web && ls
|
||||||
- name: "[web] Install dependencies"
|
- name: "[web] Install dependencies"
|
||||||
run: cd web && bun install
|
run: cd web && bun install
|
||||||
- name: "[web] Build"
|
- name: "[web] Build"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<main class="flex items-center justify-center min-w-screen min-h-screen">
|
<main class="flex items-center justify-center min-w-screen min-h-screen">
|
||||||
<UButton icon="material-symbols:lock" size="xl" color="primary" variant="solid">Lock</UButton>
|
<UButton icon="material-symbols:lock" size="xl" color="primary" variant="solid">Lock</UButton>
|
||||||
{{ res }}
|
|
||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import * as v from "valibot"
|
import * as v from "valibot"
|
||||||
import type { FormSubmitEvent } from "@nuxt/ui"
|
import type { FormSubmitEvent } from "@nuxt/ui"
|
||||||
|
|
||||||
const token = useCookie("token")
|
const token = useToken()
|
||||||
|
|
||||||
const schema = v.object({
|
const schema = v.object({
|
||||||
token: v.pipe(v.string(), v.nonEmpty("Please enter your token"))
|
token: v.pipe(v.string(), v.nonEmpty("Please enter your token"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user