Speed up CI (#1666)

This commit is contained in:
Charles Bochet
2023-09-19 17:09:01 -07:00
committed by GitHub
parent b0973afc64
commit acee401371

View File

@ -58,8 +58,6 @@ jobs:
restore-keys: eslint-plugin-twenty-node_modules- restore-keys: eslint-plugin-twenty-node_modules-
- name: Install dependencies - name: Install dependencies
run: yarn run: yarn
- name: Install Dependencies
run: cd front && yarn
- name: Install Playwright - name: Install Playwright
run: cd front && npx playwright install run: cd front && npx playwright install
- name: Build Storybook - name: Build Storybook
@ -96,8 +94,6 @@ jobs:
path: packages/eslint-plugin-twenty/node_modules path: packages/eslint-plugin-twenty/node_modules
key: eslint-plugin-twenty-node_modules-${{hashFiles('packages/eslint-plugin-twenty/yarn.lock')}} key: eslint-plugin-twenty-node_modules-${{hashFiles('packages/eslint-plugin-twenty/yarn.lock')}}
restore-keys: eslint-plugin-twenty-node_modules- restore-keys: eslint-plugin-twenty-node_modules-
- name: Install Dependencies
run: cd front && yarn
- name: Install Playwright - name: Install Playwright
run: cd front && npx playwright install run: cd front && npx playwright install
- name: Build Storybook - name: Build Storybook
@ -157,7 +153,5 @@ jobs:
path: packages/eslint-plugin-twenty/node_modules path: packages/eslint-plugin-twenty/node_modules
key: eslint-plugin-twenty-node_modules-${{hashFiles('packages/eslint-plugin-twenty/yarn.lock')}} key: eslint-plugin-twenty-node_modules-${{hashFiles('packages/eslint-plugin-twenty/yarn.lock')}}
restore-keys: eslint-plugin-twenty-node_modules- restore-keys: eslint-plugin-twenty-node_modules-
- name: Front / Install Dependencies
run: cd front && yarn
- name: Front / Run jest - name: Front / Run jest
run: cd front && yarn test run: cd front && yarn test