0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/scripts/e2e-setup-ci.sh

20 lines
378 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# this file is used by e2e-xx-cli-workflow.yml files
set -e
# create a temporary folder
HERE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
TEMP_DIR="$(mktemp -d)"
cd "${TEMP_DIR}"
echo $TEMP_DIR
echo $HERE_DIR
# set basic git config
git config --global user.email "jota@verdaccio.org"
git config --global user.name "Juan Picado"