Speed up CI (#1666)
This commit is contained in:
6
.github/workflows/ci-front.yaml
vendored
6
.github/workflows/ci-front.yaml
vendored
@ -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
|
||||||
Reference in New Issue
Block a user