fix(ci): let pnpm version be read from package.json packageManager field
Some checks failed
Deploy Frontend / build-and-deploy (push) Failing after 1m23s
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:
parent
03a506382d
commit
29ef609465
1 changed files with 1 additions and 3 deletions
|
|
@ -28,7 +28,6 @@ on:
|
|||
|
||||
env:
|
||||
NODE_VERSION: '20'
|
||||
PNPM_VERSION: '9'
|
||||
SERVER_IP: '91.98.224.44'
|
||||
SERVER_USER: 'root'
|
||||
|
||||
|
|
@ -50,8 +49,7 @@ jobs:
|
|||
|
||||
- name: Install pnpm
|
||||
uses: https://github.com/pnpm/action-setup@v4
|
||||
with:
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
# Version is read from package.json packageManager field
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
|
|
|
|||
Loading…
Reference in a new issue