From 5ded713c3c487bd28874e75b1623ece07a79d91d Mon Sep 17 00:00:00 2001 From: Jason Jean Date: Wed, 1 May 2024 18:40:53 -0400 Subject: [PATCH] fix(repo): set version of pnpm for docker publishes (#23129) ## Current Behavior The version of pnpm changed with the docker image. ## Expected Behavior The version of pnpm is installed over the one in the docker image to ensure the right version is being used. ## Related Issue(s) Fixes # --- .github/workflows/publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1ed280119286f..b9f8a4330b416 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,6 +36,7 @@ jobs: docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian build: |- set -e && + npm i -g pnpm@8.15.7 --force && pnpm --version && pnpm install --frozen-lockfile && pnpm nx run-many --verbose --target=build-native -- --target=x86_64-unknown-linux-gnu @@ -44,6 +45,8 @@ jobs: docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine build: |- set -e && + npm i -g pnpm@8.15.7 --force && + pnpm --version && pnpm install --frozen-lockfile && pnpm nx run-many --verbose --target=build-native -- --target=x86_64-unknown-linux-musl - host: macos-13 @@ -60,6 +63,7 @@ jobs: docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64 build: |- set -e && + npm i -g pnpm@8.15.7 --force && pnpm --version && pnpm install --frozen-lockfile && pnpm nx run-many --verbose --target=build-native -- --target=aarch64-unknown-linux-gnu @@ -85,6 +89,8 @@ jobs: build: |- set -e && rustup target add aarch64-unknown-linux-musl && + npm i -g pnpm@8.15.7 --force && + pnpm --version && pnpm install --frozen-lockfile && pnpm nx run-many --verbose --target=build-native -- --target=aarch64-unknown-linux-musl - host: windows-latest