Skip to content

Commit 33d34b4

Browse files
committed
Move updating script to a pwsh task
1 parent 43fd44d commit 33d34b4

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

azure-pipelines/igniteui-wc-grid-examples.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,24 @@ stages:
119119
workingDir: '$(Build.SourcesDirectory)'
120120
customCommand: 'install -g igniteui-cli'
121121

122-
- task: Bash@3
123-
displayName: 'Run Ignite UI Upgrade in Root and All Project Subdirectories'
122+
- task: PowerShell@2
123+
displayName: 'Update vite.config to licensed'
124124
inputs:
125+
failOnStderr: true
126+
showWarnings: true
127+
workingDirectory: '$(Build.SourcesDirectory)'
125128
targetType: 'inline'
126129
script: |
127130
#Update vite.config.ts
128131
$viteConfig = Get-Content -Raw ./vite.config.ts
129132
$updatedViteConfig = $viteConfig -replace 'igniteui-webcomponents-', '@infragistics/igniteui-webcomponents-'
130133
$updatedViteConfig | Set-Content ./vite.config.ts
131-
134+
135+
- task: Bash@3
136+
displayName: 'Run Ignite UI Upgrade in Root and All Project Subdirectories'
137+
inputs:
138+
targetType: 'inline'
139+
script: |
132140
echo "Running Ignite UI package upgrade at root level..."
133141
npx ig upgrade-packages --skip-install
134142

0 commit comments

Comments
 (0)