Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: pin pnpm version to 7.30.5 #14828

Merged
merged 2 commits into from
Mar 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 [email protected]
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 [email protected]
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 [email protected]
pnpm -v
pnpm config set store-dir $(pnpmStorePath)

- task: Bash@3
Expand Down