Skip to content

Commit

Permalink
Build with npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-fyi committed Dec 8, 2020
1 parent 3d31f62 commit f580aa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ jobs:
- name: Install Dependancies [npm ci]
run: npm ci

- name: Install Dependancies [npm ci]
run: npm ci

- name: Build Angular Library [ng build --prod]
run: ng build --prod
- name: Build Angular Library [npm run ci:build]
run: npm run ci:build

- name: Publish Package [npm publish]
run: npm publish
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint"
"lint": "ng lint",
"ci:build": "ng build --prod"
},
"private": false,
"dependencies": {
Expand Down

0 comments on commit f580aa7

Please sign in to comment.