From a21f082591bb207bf54e2bd6ae98c2ca9827ae16 Mon Sep 17 00:00:00 2001 From: Stefan Melmuk Date: Wed, 2 Nov 2022 02:26:34 +0100 Subject: [PATCH] don't stash the node_modules folder currently, if you built the web-vault the `node_modules` folder is stashed which takes a long time. since this is an ignored folder and we use `npm ci` to build the web-vault we don't really need to stash it. `npm ci` will always start with a clean build anyway. see https://docs.npmjs.com/cli/v8/commands/npm-ci --- scripts/checkout_web_vault.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkout_web_vault.sh b/scripts/checkout_web_vault.sh index da498c1..1628d24 100755 --- a/scripts/checkout_web_vault.sh +++ b/scripts/checkout_web_vault.sh @@ -35,7 +35,7 @@ else # If there already is a checked-out repo, lets clean it up first. pushd "${VAULT_FOLDER}" # Stash current changes if there are any, we don't want to loose our work if we had some - git stash --all --quiet &> /dev/null || true + git stash --include-untracked --quiet &> /dev/null || true # Checkout the master repo first git checkout master git reset --hard