From a7ddc1ee88155ff10b32f73827dd1e6ab79d0f85 Mon Sep 17 00:00:00 2001 From: jkoberg Date: Mon, 18 Oct 2021 17:01:13 +0200 Subject: [PATCH] don't build node_modules when unneccessary --- graph-explorer/Makefile | 6 +----- web/Makefile | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/graph-explorer/Makefile b/graph-explorer/Makefile index d91c24968e..30772e5d94 100644 --- a/graph-explorer/Makefile +++ b/graph-explorer/Makefile @@ -29,15 +29,11 @@ ci-go-generate: pull-assets # CI runs ci-node-generate automatically before this ci-node-generate: yarn-build .PHONY: yarn-build -yarn-build: node_modules +yarn-build: yarn lint yarn test yarn build -.PHONY: node_modules -node_modules: - yarn install --frozen-lockfile - .PHONY: pull-assets pull-assets: @rm -Rf assets && mkdir assets/ && curl -slL -o- https://github.com/owncloud/graph-explorer/releases/download/v1.7.10.3/release.tar.gz | tar xvzf - -C assets/ diff --git a/web/Makefile b/web/Makefile index 0c0105c420..f47f6518c1 100644 --- a/web/Makefile +++ b/web/Makefile @@ -29,15 +29,11 @@ ci-go-generate: pull-assets # CI runs ci-node-generate automatically before this ci-node-generate: yarn-build .PHONY: yarn-build -yarn-build: node_modules +yarn-build: yarn lint yarn test yarn build -.PHONY: node_modules -node_modules: - yarn install --frozen-lockfile - WEB_ASSETS_VERSION = v4.3.0 .PHONY: pull-assets