Get ready for rollout of next.js version

This commit is contained in:
Jordan Eldredge 2025-06-06 12:54:48 -04:00
parent 186129ecb9
commit 33ca103c10
8 changed files with 60 additions and 17 deletions

View file

@ -0,0 +1,16 @@
#!/bin/bash
set -euo pipefail
# Switch to Node 20
export NVM_DIR="$HOME/.nvm"
source "$NVM_DIR/nvm.sh"
nvm use 20
# Install dependencies
yarn install --frozen-lockfile
# Build the site
yarn run build
# Reload processes via PM2
pm2 reload ecosystem.config.js