Fix deploy CI

This commit is contained in:
Charles Bochet
2023-09-19 16:57:22 -07:00
parent 8c21dc8bba
commit b0973afc64
2 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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",