markdowny/scripts/setup.sh
Dylan R. E. Moonfire 3975d553fe
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: switched from yarn to npm
2023-01-26 08:19:00 -06:00

14 lines
298 B
Bash
Executable file

# !/usr/bin/env bash
#mfgames-project:setup@v0.0.0
log() { echo "🌱 $(basename $0): $@"; }
cd $(dirname $(dirname $0))
#mfgames-project:setup
if [ -d node_modules ]
then
log "node_modules exists, not installing Node packages"
else
log "installing Node packages"
npm install --ci
fi