don't build node_modules when unneccessary

This commit is contained in:
jkoberg
2021-10-18 17:01:13 +02:00
parent a9b6753991
commit a7ddc1ee88
2 changed files with 2 additions and 10 deletions
+1 -5
View File
@@ -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/
+1 -5
View File
@@ -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