Skip to content

Commit

Permalink
remove duplicate npm ci, don't use npm install
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Brahmer <[email protected]>
  • Loading branch information
Grotax committed Nov 7, 2023
1 parent 9c100f2 commit 321c594
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ endif
.PHONY: npm
npm:
ifneq (, $(npm))
$(npm) ci
$(npm) run build
else
@echo "npm command not available, please install nodejs first"
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "An RSS/Atom feed reader",
"main": "js/nextcloud-news-main.js",
"scripts": {
"prebuild": "npm install && npm ci",
"prebuild": "npm ci",
"build": "NODE_ENV=production webpack --progress --config webpack.js",
"dev": "NODE_ENV=development webpack --progress --config webpack.js",
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.js",
Expand Down

0 comments on commit 321c594

Please sign in to comment.