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
This commit is contained in:
Stefan Melmuk 2022-11-02 02:26:34 +01:00
parent 613870ebe6
commit a21f082591
No known key found for this signature in database
GPG key ID: 817020C608FE9C09

View file

@ -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