mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
📎 Add minor changes to circleci cache management
This commit is contained in:
parent
a4fab5c5bd
commit
229c9b8385
@ -107,11 +107,19 @@ jobs:
|
|||||||
keys:
|
keys:
|
||||||
- v1-dependencies-{{ checksum "frontend/deps.edn"}}-{{ checksum "frontend/yarn.lock" }}
|
- v1-dependencies-{{ checksum "frontend/deps.edn"}}-{{ checksum "frontend/yarn.lock" }}
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: "install dependencies"
|
||||||
|
working_directory: "./frontend"
|
||||||
|
# We install playwright here because the dependent tasks
|
||||||
|
# uses the same cache as this task so we prepopulate it
|
||||||
|
command: |
|
||||||
|
yarn install
|
||||||
|
yarn run playwright install chromium
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: "lint scss on frontend"
|
name: "lint scss on frontend"
|
||||||
working_directory: "./frontend"
|
working_directory: "./frontend"
|
||||||
command: |
|
command: |
|
||||||
yarn install
|
|
||||||
yarn run lint:scss
|
yarn run lint:scss
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
@ -125,6 +133,7 @@ jobs:
|
|||||||
- ~/.m2
|
- ~/.m2
|
||||||
- ~/.yarn
|
- ~/.yarn
|
||||||
- ~/.gitlibs
|
- ~/.gitlibs
|
||||||
|
- ~/.cache/ms-playwright
|
||||||
key: v1-dependencies-{{ checksum "frontend/deps.edn"}}-{{ checksum "frontend/yarn.lock" }}
|
key: v1-dependencies-{{ checksum "frontend/deps.edn"}}-{{ checksum "frontend/yarn.lock" }}
|
||||||
|
|
||||||
test-components:
|
test-components:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user