фикс
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
export NVM_DIR="${HOME}/.nvm"
|
||||
if [[ -s "${NVM_DIR}/nvm.sh" ]]; then
|
||||
# shellcheck source=/dev/null
|
||||
. "${NVM_DIR}/nvm.sh"
|
||||
nvm install
|
||||
nvm use
|
||||
else
|
||||
echo "nvm not found at ${NVM_DIR}/nvm.sh (install nvm or use Node 20.19+ / 22.12+ for Vite)" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Using $(node -v) ($(command -v node))"
|
||||
npm ci
|
||||
npm run pack:linux
|
||||
Reference in New Issue
Block a user