Skip to content

Commit

Permalink
ci: pin pnpm version to 7.30.5 (#14838)
Browse files Browse the repository at this point in the history
Port of #14815 to the tinylicious release branch.
  • Loading branch information
tylerbutler authored Mar 28, 2023
1 parent 1294ce7 commit 252c82e
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion server/gitrest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ COPY scripts/*.* ./scripts/
COPY packages/gitrest/package*.json packages/gitrest/
COPY packages/gitrest-base/package*.json packages/gitrest-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
2 changes: 1 addition & 1 deletion server/historian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ COPY scripts/*.* ./scripts/
COPY packages/historian/package.json packages/historian/
COPY packages/historian-base/package.json packages/historian-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
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
2 changes: 1 addition & 1 deletion tools/pipelines/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ stages:
inputs:
targetType: 'inline'
script: |
npm i -g pnpm
npm i -g pnpm@7.30.5
pnpm config set store-dir $(pnpmStorePath)
- task: Bash@3
Expand Down
2 changes: 1 addition & 1 deletion tools/pipelines/repo-policy-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ steps:
inputs:
targetType: 'inline'
script: |
npm i -g pnpm
npm i -g pnpm@7.30.5
pnpm config set store-dir $(pnpmStorePath)
- task: Bash@3
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 @@ -255,7 +255,8 @@ stages:
targetType: 'inline'
workingDirectory: ${{ parameters.buildDirectory }}
script: |
npm i -g pnpm
npm i -g pnpm@7.30.5
pnpm -v
pnpm config set store-dir $(pnpmStorePath)
- task: Bash@3
Expand Down
2 changes: 1 addition & 1 deletion tools/pipelines/templates/include-policy-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ stages:
workingDirectory: ${{ parameters.buildDirectory }}
script: |
# Install pnpm globally
npm i -g pnpm
npm i -g pnpm@7.30.5
# We only want to install the root package deps, so we set recursive-install to false
pnpm config set recursive-install false
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 pnpm@7.30.5
pnpm -v
pnpm config set store-dir $(pnpmStorePath)
pnpm i
pnpm build:compile
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 @@ -84,7 +84,8 @@ jobs:
targetType: 'inline'
workingDirectory: ${{ parameters.buildDirectory }}
script: |
npm i -g pnpm
npm i -g pnpm@7.30.5
pnpm -v
pnpm config set store-dir $(pnpmStorePath)
- task: Bash@3
Expand Down

0 comments on commit 252c82e

Please sign in to comment.