change node version for pull cicd

This commit is contained in:
Esteban Paz 2026-07-24 11:26:41 -05:00
parent f4d128306a
commit d9b0bc58b1
1 changed files with 7 additions and 3 deletions

View File

@ -20,13 +20,17 @@ jobs:
echo "PM2_ENV=staging" >> $GITHUB_ENV echo "PM2_ENV=staging" >> $GITHUB_ENV
fi fi
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '20'
cache: 'npm' cache: 'pnpm'
- run: npm ci - run: pnpm install --frozen-lockfile
- run: npm run build - run: pnpm run build
- name: Copy build to VPS - name: Copy build to VPS
uses: appleboy/scp-action@master uses: appleboy/scp-action@master