mirror of
https://github.com/dani-garcia/bw_web_builds.git
synced 2025-01-12 20:57:18 +03:00
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:
parent
613870ebe6
commit
a21f082591
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue