Files
huanld c99f40bb20
Release pipeline / Get version (push) Has been cancelled
Release pipeline / Get Chart Name (push) Has been cancelled
Release pipeline / tests (push) Has been cancelled
Release pipeline / builds (push) Has been cancelled
Release pipeline / builds-ghcr (push) Has been cancelled
Release pipeline / test-deployments (push) Has been cancelled
Release pipeline / deploy (push) Has been cancelled
Release pipeline / Helm chart oci (push) Has been cancelled
Release pipeline / npm (push) Has been cancelled
Release pipeline / snyk (push) Has been cancelled
feat: customize speckle-server for ATAD - auth bypass, file upload, frontend cleanup
2026-04-21 16:32:12 +07:00

28 lines
487 B
Bash

#!/bin/bash
export NVM_DIR="$HOME/.nvm"
# Install NVM if not present
if [ ! -s "$NVM_DIR/nvm.sh" ]; then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
fi
# Load NVM
\. "$NVM_DIR/nvm.sh"
# Install Node 22
nvm install 22
nvm use 22
# Enable corepack
corepack enable
# Navigate to project
cd /mnt/e/speckle-server
# Clean up previously broken native Windows builds if they exist
rm -rf node_modules
# Install dependencies using yarn
yarn install