mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
- Update CI workflows (.github/workflows/ci.yml, code-size.yml) to use Node.js 22.x - Update Netlify config to use Node.js 22.11.0 - Update all package.json engines to require Node.js 22.0.0+ - Add .nvmrc file with Node.js 22 for local development - Update documentation to reflect Node.js 22+ requirement - Update skin-database scripts to use Node.js 22 - Tested locally with nvm and confirmed builds work correctly Node.js v22 is the current LTS version and provides improved performance and security features. All packages now require Node.js 22+ to ensure consistency across development, CI, and production environments.
16 lines
No EOL
261 B
Bash
Executable file
16 lines
No EOL
261 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
# Switch to Node 22
|
|
export NVM_DIR="$HOME/.nvm"
|
|
source "$NVM_DIR/nvm.sh"
|
|
nvm use 22
|
|
|
|
# Install dependencies
|
|
yarn install --frozen-lockfile
|
|
|
|
# Build the site
|
|
yarn run build
|
|
|
|
# Reload processes via PM2
|
|
pm2 reload ecosystem.config.js |