diff --git a/.travis.yml b/.travis.yml index 4ba7497..456c20e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,9 @@ language: go go: - "1.20.x" +before_install: + - npm install -g typescript + script: - go mod tidy - git diff --exit-code --quiet || (echo "Please run 'go mod tidy' to clean up the 'go.mod' and 'go.sum' files."; false) diff --git a/Makefile b/Makefile index 15c4836..e389ba5 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ install-typescript: npx tsc .PHONY: release -release: install-packr install-typescript +release: install-packr curl -sL https://git.io/goreleaser | bash .PHONY: clean