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 ef17716..e389ba5 100644 --- a/Makefile +++ b/Makefile @@ -15,10 +15,10 @@ build: install-packr install-typescript install-typescript: npm install typescript npm install rollup - tsc + npx tsc .PHONY: release -release: install-packr install-typescript +release: install-packr curl -sL https://git.io/goreleaser | bash .PHONY: clean