ci: Only install UI dependencies for CI frontend-cache (#11313)
This commit is contained in:
parent
ae57fe6e1d
commit
bfd1d7e2a3
|
@ -602,7 +602,7 @@ jobs:
|
|||
|
||||
- run:
|
||||
name: install yarn packages
|
||||
command: cd ui && make
|
||||
command: cd ui && make deps
|
||||
|
||||
- save_cache:
|
||||
key: *YARN_CACHE_KEY
|
||||
|
|
|
@ -15,11 +15,17 @@ dist-docker: dist
|
|||
clean:
|
||||
rm -rf ./dist
|
||||
|
||||
# Build a distribution of the UI using the minimal amount of dependencies
|
||||
# Build a distribution of the UI
|
||||
dist: clean
|
||||
cd packages/consul-ui && \
|
||||
$(MAKE)
|
||||
|
||||
# Install deps for the UI only
|
||||
deps: clean
|
||||
cd packages/consul-ui && \
|
||||
$(MAKE) deps
|
||||
|
||||
|
||||
# Build a distribution of the UI for Vercel previews.
|
||||
# The distribution must be copied into the ui/ subfolder
|
||||
# in order to mirror the go binary
|
||||
|
|
Loading…
Reference in New Issue