diff --git a/build-packages.yml b/build-packages.yml index d8638ee6f0..c789107893 100644 --- a/build-packages.yml +++ b/build-packages.yml @@ -279,6 +279,10 @@ jobs: workingDir: $(Build.SourcesDirectory)/survey-library condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | cd $(Build.SourcesDirectory)/survey-library npm run release -- --release-as $(SurveyJSVersion) @@ -398,6 +402,10 @@ jobs: workingDir: $(Build.SourcesDirectory)/survey-library condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | cd $(Build.SourcesDirectory)/survey-library npm run release -- --release-as $(SurveyJSVersion) @@ -500,6 +508,10 @@ jobs: workingDir: $(Build.SourcesDirectory)/survey-library condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | cd $(Build.SourcesDirectory)/survey-library npm run release -- --release-as $(SurveyJSVersion) @@ -603,6 +615,10 @@ jobs: workingDir: $(Build.SourcesDirectory)/survey-library condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | cd $(Build.SourcesDirectory)/survey-library npm run build_core @@ -720,6 +736,10 @@ jobs: verbose: false workingDir: $(Build.SourcesDirectory)/survey-library condition: ne(variables.NPM_CACHE_RESTORED, 'true') + + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" - script: | cd $(Build.SourcesDirectory)/survey-library @@ -934,6 +954,10 @@ jobs: workingDir: $(Build.SourcesDirectory)/survey-library condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | cd $(Build.SourcesDirectory)/survey-library npm run release -- --release-as $(SurveyJSVersion) diff --git a/devops-accessibility-tests.yml b/devops-accessibility-tests.yml index 57b2151d9e..3671f9de57 100644 --- a/devops-accessibility-tests.yml +++ b/devops-accessibility-tests.yml @@ -53,6 +53,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | npm run build_knockout_prod displayName: 'build prod' @@ -115,6 +119,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - powershell: | npm run build_react_prod npm run build_core @@ -179,6 +187,10 @@ jobs: command: install verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" - script: | npm run build_vue_prod @@ -244,6 +256,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - powershell: | npm run build_core npm run build_i18n_dev @@ -330,6 +346,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - powershell: | npm run build_core npm run build_i18n_dev diff --git a/devops-pull-requests-parallel-jobs.yml b/devops-pull-requests-parallel-jobs.yml index 893995999f..7f075b7a3f 100644 --- a/devops-pull-requests-parallel-jobs.yml +++ b/devops-pull-requests-parallel-jobs.yml @@ -50,6 +50,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | npm run build_core npm run build_knockout_prod @@ -108,6 +112,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | npm run build_react_prod npm run build_core @@ -157,6 +165,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | npm run build_vue_prod displayName: "Build Vue" @@ -202,6 +214,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | npm run build_core npm run build_i18n @@ -270,6 +286,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | npm run build_core npm run build_i18n @@ -385,6 +405,10 @@ jobs: workingDir: $(Build.SourcesDirectory) condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | npm run build_core npm run build_i18n diff --git a/devops-visual-regression-tests.yml b/devops-visual-regression-tests.yml index 248c6a6130..6f537b6b22 100644 --- a/devops-visual-regression-tests.yml +++ b/devops-visual-regression-tests.yml @@ -51,6 +51,10 @@ jobs: command: install verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" - script: | npm run build_knockout_prod @@ -114,6 +118,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - powershell: | npm run build_react_prod npm run build_core @@ -179,6 +187,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | npm run build_vue_prod displayName: 'build prod' @@ -242,6 +254,10 @@ jobs: command: install verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" - powershell: | npm run build_core @@ -329,6 +345,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - powershell: | npm run build_core npm run build_i18n_dev @@ -479,6 +499,11 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | npm run build_core npm run build_i18n diff --git a/visual-regression-tests.yml b/visual-regression-tests.yml index f718788267..03a02e915b 100644 --- a/visual-regression-tests.yml +++ b/visual-regression-tests.yml @@ -52,6 +52,10 @@ jobs: command: install verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" - script: | npm run build_knockout_prod @@ -115,6 +119,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - powershell: | npm run build_react_prod npm run build_core @@ -180,6 +188,11 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + + - script: | npm run build_vue_prod displayName: 'build prod' @@ -244,6 +257,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - powershell: | npm run build_core npm run build_i18n_dev @@ -330,6 +347,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - powershell: | npm run build_core npm run build_i18n_dev @@ -480,6 +501,10 @@ jobs: verbose: false condition: ne(variables.NPM_CACHE_RESTORED, 'true') + - script: | + npx puppeteer browsers install chrome + displayName: "install chrome" + - script: | npm run build_core npm run build_i18n