don't build node_modules when unneccessary
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user