Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

Commit

Permalink
Upgrade to pnpm 9 (#626)
Browse files Browse the repository at this point in the history
* Upgrade to pnpm 9

* .
  • Loading branch information
timotheeguerin authored Jul 9, 2024
1 parent e13495f commit bd1dbe9
Show file tree
Hide file tree
Showing 6 changed files with 6,649 additions and 5,171 deletions.
6 changes: 4 additions & 2 deletions .azure-pipelines/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ extends:
os: linux

steps:
- script: npm install -g [email protected]
displayName: Install PNPM
- script: |
corepack enable
corepack prepare pnpm --activate
displayName: Install pnpm
- script: pnpm install
displayName: Install dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- run: npm install -g pnpm@7.27.1
name: Install PNPM
- name: Install pnpm
uses: pnpm/action-setup@v3

- run: pnpm install
name: Install dependencies
Expand Down Expand Up @@ -99,8 +99,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- run: npm install -g pnpm@7.27.1
name: Install PNPM
- name: Install pnpm
uses: pnpm/action-setup@v3

- run: npx -y @azure-tools/typespec-bump-deps@latest ./packages/cadl-ranch-specs/package.json ./packages/cadl-ranch/package.json ./packages/cadl-ranch-expect/package.json
name: Bump package versions
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dashboard-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
with:
node-version: 18.x

- run: npm install -g pnpm@7.27.1
name: Install PNPM
- name: Install pnpm
uses: pnpm/action-setup@v3

- run: pnpm install
name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare-auto-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
with:
node-version: 18.x

- run: npm install -g pnpm@7.27.1
name: Install PNPM
- name: Install pnpm
uses: pnpm/action-setup@v3

- run: pnpm install
name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"workspaces": [
"packages/*"
],
"packageManager": "[email protected]",
"scripts": {
"preinstall": "npx only-allow pnpm",
"watch": "tsc --build ./tsconfig.ws.json --watch",
Expand Down
Loading

0 comments on commit bd1dbe9

Please sign in to comment.