diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 927207c12..dc0e05ae3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,6 +32,8 @@ jobs: node-version: 22 registry-url: 'https://registry.npmjs.org' - run: npm ci + - name: Build library + run: npm run build_lib - name: Publish to NPM run: npx release-plan publish --provenance env: diff --git a/package.json b/package.json index 0439fba63..dd538dda9 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ "ng": "ng", "npm_pack": "cd dist/angular-shepherd && npm pack", "package": "npm run build_lib && npm run npm_pack", - "prepublishOnly": "npm run build_lib", "start": "ng serve", "test": "ng test" }, diff --git a/projects/shepherd/package.json b/projects/shepherd/package.json index 16f6ed4c1..93c07c381 100644 --- a/projects/shepherd/package.json +++ b/projects/shepherd/package.json @@ -29,5 +29,8 @@ "publishConfig": { "registry": "https://registry.npmjs.org", "directory": "../../dist/angular-shepherd" + }, + "release-plan": { + "tagFormat": "v${version}" } }