add yarn to makefile

This commit is contained in:
jkoberg
2021-10-15 14:06:55 +02:00
parent cfc82f7df8
commit f97ab8c223
2 changed files with 11 additions and 2 deletions
-1
View File
@@ -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
View File
@@ -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