From c0b28326223ed39f04416d209b55cd68fe512b3d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 7 Jan 2020 14:20:51 +0100 Subject: [PATCH] chore: benchmark node_modules size --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e94fc27d2..b24f0454d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,6 +37,9 @@ npm install: - install -v -m 0700 -d ~/.ssh - install -v -T -m 0644 ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts - install -v -T -m 0400 ${SSH_DEPLOY_KEY} ~/.ssh/deploy && echo "IdentityFile ~/.ssh/deploy" >> ~/.ssh/config; + after_script: + - zip -r node_modules.zip node_modules + - du -h node_modules node_modules.zip artifacts: paths: - node_modules/