Skip to content

Commit c943030

Browse files
committed
Update fe build pipeline
1 parent 4adb47d commit c943030

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,17 @@ stages:
6969
npm
7070
path: $(npm_config_cache)
7171

72+
- task: CmdLine@2
73+
displayName: 'Install NPM packages'
74+
inputs:
75+
script: 'npm ci --no-fund --no-audit --prefer-offline'
76+
workingDirectory: '$(Build.SourcesDirectory)/src/Umbraco.Commerce.Checkout/Client'
77+
7278
- task: CmdLine@2
7379
displayName: 'Build frontend'
7480
inputs:
7581
workingDirectory: $(Build.SourcesDirectory)/src/Umbraco.Commerce.Checkout/Client
76-
script: |
77-
npm i
78-
npm run build
82+
script: 'npm run build'
7983

8084
# Cache and restore NuGet packages
8185
- task: Cache@2

0 commit comments

Comments
 (0)