node-ejs-renderer/node_modules/bcrypt/test-docker.sh

16 lines
286 B
Bash
Raw Normal View History

2024-06-09 13:55:01 -04:00
#!/bin/sh
set -xe
echo "Running on $(node -v)"
# Cleanup
rm -rf node_modules build-tmp-* lib/binding
# Install build dependencies
if [ -f /etc/alpine-release ]; then
apk add --no-cache --virtual .build-deps make gcc g++ python3
fi
su node -c "npm test; npx node-pre-gyp package"