From b055c193b84d4bc883f7a589e728fd148afe55c4 Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Thu, 19 May 2022 22:08:32 +0200 Subject: [PATCH] ci: fix pnpm versions on ci --- .github/workflows/benchmark.yml | 6 +++--- .github/workflows/changesets.yml | 2 +- .github/workflows/contributors.yml | 2 +- docs/development.md | 2 +- package.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index c100d1236..c58f8e11c 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -23,7 +23,7 @@ jobs: with: node-version: 16.x - name: install pnpm - run: sudo npm i pnpm@6.24.1 -g + run: sudo npm i pnpm@latest-6 -g - name: set store run: | mkdir ~/.pnpm-store @@ -76,7 +76,7 @@ jobs: run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages - name: install pnpm # require fixed version - run: sudo npm i pnpm@6.24.1 -g + run: sudo npm i pnpm@latest-6 -g - uses: actions/cache@v3 with: path: ~/.pnpm-store @@ -137,7 +137,7 @@ jobs: run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages - name: install pnpm # require fixed version - run: sudo npm i pnpm@6.24.1 -g + run: sudo npm i pnpm@latest-6 -g - uses: actions/cache@v3 with: path: ~/.pnpm-store diff --git a/.github/workflows/changesets.yml b/.github/workflows/changesets.yml index f84b574a8..77ab5de5c 100644 --- a/.github/workflows/changesets.yml +++ b/.github/workflows/changesets.yml @@ -33,7 +33,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }} - name: install pnpm - run: npm i pnpm@6.10.3 -g + run: npm i pnpm@6.32.15 -g env: NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }} diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index 7d555f38d..8d2169d8e 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -23,7 +23,7 @@ jobs: with: node-version: 17.x - name: install pnpm - run: sudo npm i pnpm@6.24.1 -g + run: sudo npm i pnpm@latest-6 -g - name: set store run: | mkdir ~/.pnpm-store diff --git a/docs/development.md b/docs/development.md index 8d6c7a842..55d077ced 100644 --- a/docs/development.md +++ b/docs/development.md @@ -12,7 +12,7 @@ nvm install Verdaccio uses **pnpm** as monorepo management. To install ```bash -npm i -g pnpm@latest +npm i -g pnpm@latest-6 ``` Install all needed packages diff --git a/package.json b/package.json index b767cbabe..05d3a751b 100644 --- a/package.json +++ b/package.json @@ -149,7 +149,7 @@ }, "engines": { "node": ">=16.5", - "pnpm": ">=6.32.3 <=6.32.15" + "pnpm": ">=6.32.3 <7.0.0" }, "license": "MIT", "lint-staged": {