From b0973afc6450662d36761bb8ccced2067cb0f499 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Tue, 19 Sep 2023 16:57:22 -0700 Subject: [PATCH] Fix deploy CI --- .github/workflows/ci-front.yaml | 2 +- front/package.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yaml index 86662bc25..81c78220a 100644 --- a/.github/workflows/ci-front.yaml +++ b/.github/workflows/ci-front.yaml @@ -131,7 +131,7 @@ jobs: key: eslint-plugin-twenty-node_modules-${{hashFiles('packages/eslint-plugin-twenty/yarn.lock')}} restore-keys: eslint-plugin-twenty-node_modules- - name: Front / Install Dependencies - run: cd front && yarn && yarn eslint-plugin:upgrade + run: cd front && yarn - name: Front / Run linter run: cd front && yarn lint front-jest: diff --git a/front/package.json b/front/package.json index bb27aaa0b..589b12233 100644 --- a/front/package.json +++ b/front/package.json @@ -69,8 +69,7 @@ "test": "craco test", "coverage": "craco test --coverage .", "lint": "eslint src --max-warnings=0", - "eslint-plugin:upgrade": "yarn eslint-plugin:setup && yarn upgrade eslint-plugin-twenty", - "eslint-plugin:setup": "cd ../packages/eslint-plugin-twenty/ && yarn && yarn build && cd ../../front/", + "eslint-plugin:setup": "cd ../packages/eslint-plugin-twenty/ && yarn && yarn build && cd ../../front/ && yarn upgrade eslint-plugin-twenty", "storybook:dev": "storybook dev -p 6006 -s ../public", "storybook:test": "test-storybook", "storybook:test-slow": "test-storybook --maxWorkers=3",