From a9b6753991301b04a1d2bbd874d4a022c1e37c88 Mon Sep 17 00:00:00 2001 From: jkoberg Date: Mon, 18 Oct 2021 16:44:46 +0200 Subject: [PATCH] add yarn to web and graph-explorer --- graph-explorer/Makefile | 12 +++++++++++- web/Makefile | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/graph-explorer/Makefile b/graph-explorer/Makefile index e5ab1994f..d91c24968 100644 --- a/graph-explorer/Makefile +++ b/graph-explorer/Makefile @@ -26,7 +26,17 @@ ci-go-generate: pull-assets # CI runs ci-node-generate automatically before this @go generate ./... .PHONY: ci-node-generate -ci-node-generate: +ci-node-generate: yarn-build + +.PHONY: yarn-build +yarn-build: node_modules + yarn lint + yarn test + yarn build + +.PHONY: node_modules +node_modules: + yarn install --frozen-lockfile .PHONY: pull-assets pull-assets: diff --git a/web/Makefile b/web/Makefile index f9ea026e8..0c0105c42 100644 --- a/web/Makefile +++ b/web/Makefile @@ -26,7 +26,17 @@ ci-go-generate: pull-assets # CI runs ci-node-generate automatically before this @go generate ./... .PHONY: ci-node-generate -ci-node-generate: +ci-node-generate: yarn-build + +.PHONY: yarn-build +yarn-build: node_modules + yarn lint + yarn test + yarn build + +.PHONY: node_modules +node_modules: + yarn install --frozen-lockfile WEB_ASSETS_VERSION = v4.3.0