From 86b565dfa94d31189a0935c6edcd475e0746d0c9 Mon Sep 17 00:00:00 2001 From: YunYouJun Date: Sun, 15 Sep 2024 18:14:52 +0800 Subject: [PATCH] ci: add lint-staged check --- .github/workflows/vercel.yml | 3 +- .npmrc | 1 + app/app.vue | 4 +- app/components/ChooseFood.vue | 4 +- app/components/tags/DishTag.vue | 4 +- app/composables/animation.ts | 2 +- app/composables/store/app.ts | 4 +- app/composables/store/recipe.ts | 8 +- app/config/pwa.ts | 2 +- app/data/recipe.json | 2 +- app/styles/css-vars.scss | 4 +- package.json | 20 +- pnpm-lock.yaml | 1192 +++++++++++++++++++++++-------- scripts/convert.ts | 2 +- test/recipe.test.ts | 2 +- 15 files changed, 923 insertions(+), 331 deletions(-) diff --git a/.github/workflows/vercel.yml b/.github/workflows/vercel.yml index 9d3c388..d7c0806 100644 --- a/.github/workflows/vercel.yml +++ b/.github/workflows/vercel.yml @@ -1,4 +1,3 @@ - name: Production Tag Deployment env: @@ -7,7 +6,7 @@ env: on: push: # Pattern matched against refs/tags - tags: + tags: - '*' # Push events to every tag not containing / jobs: diff --git a/.npmrc b/.npmrc index e2ad808..e4a0f0b 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,4 @@ shamefully-hoist=true strict-peer-dependencies=false shell-emulator=true +ignore-workspace-root-check=true diff --git a/app/app.vue b/app/app.vue index 7bef068..b629629 100644 --- a/app/app.vue +++ b/app/app.vue @@ -1,7 +1,7 @@