diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff99bcc..14931f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,7 +64,7 @@ release: stage: release script: - npmci npm prepare - - npmci command npm publish + - npmci npm publish only: - tags tags: diff --git a/package.json b/package.json index 4ae4edd..430e24b 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ }, "scripts": { "test": "(npm run compile && npm run prepareTest && npm run setupCheck && npm run check && npm run checkVersion && npm run checkNoTest && npm run checkNoDocs)", + "build": "npm test", "testShort": "(npm run compile && npm run check)", "prepareTest": "(rm -rf test/)", "compile": "(rm -rf dist/ && tsc)",