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