Skip to content

Commit

Permalink
ci: pin pnpm version to 7.30.5 (#14823)
Browse files Browse the repository at this point in the history
Port of #14815 to internal 3.2 release branch.
  • Loading branch information
tylerbutler authored Mar 28, 2023
1 parent 89d0fa7 commit 2f5f3cb
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion server/routerlicious/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ COPY packages/services-utils/package*.json packages/services-utils/
COPY packages/test-utils/package*.json packages/test-utils/
COPY packages/protocol-base/package*.json packages/protocol-base/

RUN npm install --global pnpm
RUN npm install --global pnpm@7.30.5

# Need to set the --unsafe-perm flag since we are doing the install as root. Consider adding an 'app' accout so we
# can do the install as node but then switch to 'app' to run. As app we won't be able to write to installed files
Expand Down
3 changes: 2 additions & 1 deletion tools/pipelines/repo-policy-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ steps:
workingDirectory: .
script: |
# Install pnpm globally
npm i -g pnpm
npm i -g [email protected]
pnpm -v
# We only want to install the root package deps, so we set recursive-install to false
pnpm config set recursive-install false
Expand Down
2 changes: 1 addition & 1 deletion tools/pipelines/templates/build-docker-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ stages:
targetType: 'inline'
workingDirectory: ${{ parameters.buildDirectory }}
script: |
npm i -g pnpm
npm i -g pnpm@7.30.5
pnpm config set store-dir $(pnpmStorePath)
# Set version
Expand Down
3 changes: 2 additions & 1 deletion tools/pipelines/templates/build-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ stages:
targetType: 'inline'
workingDirectory: ${{ parameters.buildDirectory }}
script: |
npm i -g pnpm
npm i -g [email protected]
pnpm -v
pnpm config set store-dir $(pnpmStorePath)
- task: Bash@3
Expand Down
3 changes: 2 additions & 1 deletion tools/pipelines/templates/include-set-package-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ steps:
workingDirectory: ${{ parameters.buildDirectory }}
script: |
pushd "$(Build.SourcesDirectory)/build-tools"
npm i -g pnpm
npm i -g [email protected]
pnpm -v
pnpm config set store-dir $(pnpmStorePath)
pnpm i
popd
Expand Down
3 changes: 2 additions & 1 deletion tools/pipelines/templates/include-test-stability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ jobs:
targetType: 'inline'
workingDirectory: ${{ parameters.buildDirectory }}
script: |
npm i -g pnpm
npm i -g [email protected]
pnpm -v
pnpm config set store-dir $(pnpmStorePath)
- task: Bash@3
Expand Down

0 comments on commit 2f5f3cb

Please sign in to comment.