Skip to content

Commit

Permalink
npm build action update
Browse files Browse the repository at this point in the history
Add support for lib build on github action file
  • Loading branch information
Janitha Tennakoon committed Dec 22, 2023
1 parent 8c7d17e commit a8dc937
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
node-version: 18
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm ci
- run: npm run build-lib
- run: cd .\dist\type-head-input\
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"primeng": "^15.1.4",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"type-head-input": "file:dist/type-head-input/type-head-input-0.0.0.tgz",
"zone.js": "~0.13.0"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions projects/type-head-input/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "type-head-input",
"version": "0.0.0",
"name": "@randomsoftwareltd/type-head-input",
"version": "0.0.3",
"peerDependencies": {
"@angular/common": "^15.1.4",
"@angular/core": "^15.1.4",
Expand Down

0 comments on commit a8dc937

Please sign in to comment.