diff --git a/package.json b/package.json index 9a62f7c..3562380 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "build": "nx run-many --target build --all --parallel=1", "prettify": "prettier --write .", "test": "nx test ngx-sonner", - "tests:ci": "nx test ngx-sonner --runInBand" + "tests:ci": "nx test ngx-sonner --runInBand", + "prepublishOnly": "npm run build" }, "private": true, "dependencies": { diff --git a/release.config.js b/release.config.js index 77996c2..630b438 100644 --- a/release.config.js +++ b/release.config.js @@ -14,6 +14,7 @@ module.exports = { { type: 'refactor', section: 'Refactoring' }, { type: 'perf', hidden: true }, { type: 'test', hidden: true }, + { type: 'ci', hidden: true }, ], }, releaseRules: [{ type: 'refactor', release: 'patch' }],