From 0749ef5999cd89b570ebf77af3e5955c8cc2da7e Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Tue, 16 Sep 2025 21:25:03 -0700 Subject: [PATCH] fix: ensure pnpm is installed before running `npm install` --- .github/workflows/rust-release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 804ac83d96..1db294baab 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -193,6 +193,14 @@ jobs: # Publish to npm using OIDC authentication. # July 31, 2025: https://github.blog/changelog/2025-07-31-npm-trusted-publishing-with-oidc-is-generally-available/ # npm docs: https://docs.npmjs.com/trusted-publishers + + # package.json has `packageManager: "pnpm@`, so we must get pnpm on the + # PATH before setting up Node.js. + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + run_install: false + - name: Setup Node.js uses: actions/setup-node@v5 with: