From ce113ec0ee0410bc27e17407a1765e475a8e6e7c Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Tue, 23 Jul 2024 10:25:36 -0700 Subject: [PATCH] reenable cache --- eng/tsp-core/pipelines/templates/install.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/eng/tsp-core/pipelines/templates/install.yml b/eng/tsp-core/pipelines/templates/install.yml index 58247b4c03..dc734f16d5 100644 --- a/eng/tsp-core/pipelines/templates/install.yml +++ b/eng/tsp-core/pipelines/templates/install.yml @@ -19,18 +19,18 @@ steps: inputs: version: 8.0.x - # - task: Cache@2 - # inputs: - # key: 'pnpm | "$(Agent.OS)" | pnpm-lock.yaml' - # path: ${{ parameters.pnpmStorePath }} - # displayName: Cache pnpm store + - task: Cache@2 + inputs: + key: 'pnpm | "$(Agent.OS)" | pnpm-lock.yaml' + path: ${{ parameters.pnpmStorePath }} + displayName: Cache pnpm store - script: | corepack enable corepack prepare pnpm --activate displayName: Install pnpm - # - script: pnpm config set store-dir ${{ parameters.pnpmStorePath }} - # displayName: Setup pnpm cache dir + - script: pnpm config set store-dir ${{ parameters.pnpmStorePath }} + displayName: Setup pnpm cache dir - script: | echo "Node:"