add yarn to makefile
This commit is contained in:
@@ -78,7 +78,6 @@ ci-golangci-lint: $(GOLANGCI_LINT)
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
@make -C ../ generate
|
||||
@go test -v -coverprofile coverage.out ./...
|
||||
|
||||
.PHONY: go-coverage
|
||||
|
||||
+11
-1
@@ -26,4 +26,14 @@ ci-go-generate: # CI runs ci-node-generate automatically before this target
|
||||
@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
|
||||
|
||||
Reference in New Issue
Block a user