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

Update node version in CI pipelines #1176

Merged
merged 7 commits into from
Feb 3, 2025
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 .pipelines/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pr:

variables:
- name: NodeVersion
value: 20.x
value: 22.x
- name: pnpm_config_cache
value: $(Pipeline.Workspace)/.pnpm-store

Expand Down
2 changes: 1 addition & 1 deletion .pipelines/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ variables:
- name: REPO_URL
value: github.com/iTwin/viewer-components-react
- name: NodeVersion
value: 20.x
value: 22.x
- name: pnpm_config_cache
value: $(Pipeline.Workspace)/.pnpm-store

Expand Down
7 changes: 4 additions & 3 deletions .pipelines/templates/build-steps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ steps:

- script: |
corepack enable
corepack prepare pnpm@9.12.3 --activate
displayName: "Setup pnpm"
displayName: "Enable corepack"

- script: |
pnpm config set store-dir $(pnpm_config_cache)
displayName: "Setup pnpm config"
displayName: "Setup pnpm"
env:
COREPACK_INTEGRITY_KEYS: 0

- script: pnpm install --frozen-lockfile
displayName: pnpm install
Expand Down
6 changes: 5 additions & 1 deletion .pipelines/templates/change-files-steps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ steps:

- script: |
corepack enable
corepack prepare pnpm@9.12.3 --activate
displayName: "Enable corepack"

- script: |
pnpm config set store-dir $(pnpm_config_cache)
displayName: "Setup pnpm"
env:
COREPACK_INTEGRITY_KEYS: 0

- script: pnpm install
displayName: pnpm install
Expand Down
7 changes: 4 additions & 3 deletions .pipelines/templates/validate-docs-steps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ steps:

- script: |
corepack enable
corepack prepare pnpm@9.12.3 --activate
displayName: "Setup pnpm"
displayName: "Enable corepack"

- script: |
pnpm config set store-dir $(pnpm_config_cache)
displayName: "Setup pnpm config"
displayName: "Setup pnpm"
env:
COREPACK_INTEGRITY_KEYS: 0

- script: pnpm install --frozen-lockfile
displayName: pnpm install
Expand Down
Loading