Skip to content

The open alternative to Salesforce, designed for AI.

Fix deploy CI

Charles Bochetb0973afc6450
diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yaml
index 86662bc25a1..81c78220acf 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 bb27aaa0ba5..589b122335e 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",