From 76224933d08f92d88738131a076168e0ba235790 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Sat, 4 Nov 2023 20:27:52 +0530 Subject: [PATCH] format --- .github/workflows/deploy-api.yml | 40 ++++++++++++------------ .vitepress/theme/components/Feedback.vue | 13 ++++++-- .vitepress/theme/index.ts | 2 +- 3 files changed, 31 insertions(+), 24 deletions(-) diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index f6b7e0bf0..f7f072f63 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -15,25 +15,25 @@ jobs: ci: name: Release runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 6 - - uses: pnpm/action-setup@v2.4.0 - - - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: 'pnpm' - - - run: pnpm install --no-frozen-lockfile + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 6 + - uses: pnpm/action-setup@v2.4.0 - - name: Build - run: pnpm api:build - env: - NITRO_PRESET: cloudflare + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: "pnpm" - - name: Publish to Cloudflare - uses: cloudflare/wrangler-action@3 - with: - apiToken: ${{ secrets.CF_API_TOKEN }} + - run: pnpm install --no-frozen-lockfile + + - name: Build + run: pnpm api:build + env: + NITRO_PRESET: cloudflare + + - name: Publish to Cloudflare + uses: cloudflare/wrangler-action@3 + with: + apiToken: ${{ secrets.CF_API_TOKEN }} diff --git a/.vitepress/theme/components/Feedback.vue b/.vitepress/theme/components/Feedback.vue index dcb8b14c4..11d705d91 100644 --- a/.vitepress/theme/components/Feedback.vue +++ b/.vitepress/theme/components/Feedback.vue @@ -76,7 +76,11 @@ async function handleSubmit(type?: string) {
@@ -86,7 +90,10 @@ async function handleSubmit(type?: string) {The wiki is...