From 6334941ce23af678560c132861a68bf4b5773a39 Mon Sep 17 00:00:00 2001 From: Tihon Date: Sat, 7 Mar 2026 21:35:12 +0200 Subject: [PATCH] changes --- .gitea/workflows/deploy-vps.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy-vps.yaml b/.gitea/workflows/deploy-vps.yaml index 0f37beb..255b3cd 100644 --- a/.gitea/workflows/deploy-vps.yaml +++ b/.gitea/workflows/deploy-vps.yaml @@ -40,10 +40,22 @@ jobs: HOST="${SSH_HOST:-188.116.23.7}" ssh-keyscan -H "$HOST" >> ~/.ssh/known_hosts 2>/dev/null || true + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 10.20.0 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: "pnpm" + + # Requires pnpm-lock.yaml in the repo (run `pnpm install` locally once and commit the lockfile). - name: Install dependencies and build run: | - npm install - npm run build + pnpm install --frozen-lockfile + pnpm run build - name: Deploy dist to VPS dist run: |