bump pnpm (#798)

* bump pnpm

* bump ci pnpm version

* almost forgot a pnpm ci lol

* Update pnpm version installed during windows setup-script

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
This commit is contained in:
Utku 2023-05-06 01:14:49 +03:00 committed by GitHub
parent 4f327db611
commit f2ff107de0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 4154 additions and 4059 deletions

View file

@ -22,7 +22,7 @@ runs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7.x.x
version: 8.x.x
run_install: false
- name: Cache LLVM and Clang

View file

@ -107,8 +107,8 @@ $temp = [System.IO.Path]::GetTempPath()
# Get project dir (get grandparent dir from script location: <PROJECT_ROOT>\.github\scripts)
$projectRoot = Split-Path -Path (Split-Path -Path $PSScriptRoot -Parent) -Parent
# Currently pnpm >= 8 is not supported due to incompatibilities with some dependencies
$pnpm_major = '7'
# Pnpm
$pnpm_major = '8'
# Currently LLVM >= 16 is not supported due to incompatibilities with ffmpeg-sys-next
# See https://github.com/spacedriveapp/spacedrive/issues/677
@ -203,8 +203,7 @@ https://pnpm.io/uninstall
}
Write-Host 'Installing pnpm...'
# Currently pnpm >= 8 is not supported due to incompatibilities with some dependencies
npm install -g 'pnpm@latest-7'
npm install -g "pnpm@latest-$pnpm_major"
# Add NPM global modules to the PATH
if (Test-Path "$env:APPDATA\npm" -PathType Container) {
Add-DirectoryToPath "$env:APPDATA\npm"

View file

@ -30,7 +30,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: 7.x.x
version: 8.x.x
- name: Install Node.js
uses: actions/setup-node@v3
@ -54,7 +54,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: 7.x.x
version: 8.x.x
- name: Install Node.js
uses: actions/setup-node@v3

View file

@ -42,7 +42,7 @@ jobs:
# - name: Install pnpm
# uses: pnpm/action-setup@v2.2.2
# with:
# version: 7.x.x
# version: 8.x.x
# - name: Install Node.js
# uses: actions/setup-node@v3
@ -152,7 +152,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: 7.x.x
version: 8.x.x
- name: Install Node.js
uses: actions/setup-node@v3

View file

@ -47,7 +47,7 @@
"@types/node": "^18.0.0"
},
"engines": {
"pnpm": ">=7.14.0",
"pnpm": ">=8.0.0",
"npm": "pnpm",
"yarn": "pnpm",
"node": ">=18.0.0"

File diff suppressed because it is too large Load diff