fix(ci): let pnpm version be read from package.json packageManager field
Some checks failed
Deploy Frontend / build-and-deploy (push) Failing after 1m23s

The pnpm/action-setup detects version from package.json's packageManager
field automatically. Specifying version in workflow causes conflict.
This commit is contained in:
kempersc 2026-01-11 17:00:02 +01:00
parent 03a506382d
commit 29ef609465

View file

@ -28,7 +28,6 @@ on:
env: env:
NODE_VERSION: '20' NODE_VERSION: '20'
PNPM_VERSION: '9'
SERVER_IP: '91.98.224.44' SERVER_IP: '91.98.224.44'
SERVER_USER: 'root' SERVER_USER: 'root'
@ -50,8 +49,7 @@ jobs:
- name: Install pnpm - name: Install pnpm
uses: https://github.com/pnpm/action-setup@v4 uses: https://github.com/pnpm/action-setup@v4
with: # Version is read from package.json packageManager field
version: ${{ env.PNPM_VERSION }}
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4