Skip to content

Commit

Permalink
update make pack-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
idevat committed Feb 1, 2021
1 parent c8fa115 commit 49bc34c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,7 @@ build:
# prepare tarball with node modules that are necessary to build the application
pack-modules:
if [ -d "node_modules" ]; then mv node_modules node_modules.backup; fi
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npx npm ci
rm -r \
node_modules/puppeteer \
node_modules/electron \
node_modules/electron-download \
node_modules/nightmare \
node_modules/mocha \
node_modules/@pollyjs \
node_modules/chai \
node_modules/nodemon \
npx npm ci

tar -Jcf pcs-web-ui-node-modules-${LAST_COMMIT_HASH}.tar.xz node_modules
rm -r node_modules
Expand Down

0 comments on commit 49bc34c

Please sign in to comment.