From c2c194ef102ed3758fcce849f573ca100ba522ea Mon Sep 17 00:00:00 2001 From: Adil Rakhaliyev <67043367+Bayheck@users.noreply.github.com> Date: Thu, 5 Dec 2024 21:35:35 +0500 Subject: [PATCH] update: example with bitbucket (#8346) ## Purpose _Describe the problem you want to address or the feature you want to implement._ ## Approach _Describe how your changes address the issue or implement the desired functionality in as much detail as possible._ ## References ## Pre-Merge TODO - [ ] Write tests for your proposed changes - [ ] Make sure that existing tests do not fail Co-authored-by: Bayheck --- .../bitbucket-pipelines.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/running-tests-in-chrome-using-bitbucket-pipelines-ci/bitbucket-pipelines.yml b/examples/running-tests-in-chrome-using-bitbucket-pipelines-ci/bitbucket-pipelines.yml index ba09b4b9e0c..61a40bffb7f 100644 --- a/examples/running-tests-in-chrome-using-bitbucket-pipelines-ci/bitbucket-pipelines.yml +++ b/examples/running-tests-in-chrome-using-bitbucket-pipelines-ci/bitbucket-pipelines.yml @@ -1,9 +1,13 @@ -image: circleci/node:10.14-browsers +image: cimg/node:current-browsers pipelines: pull-requests: '**': - step: script: + - wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - + - sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' + - sudo apt update + - sudo apt install google-chrome-stable - npm ci - npm test @@ -11,5 +15,9 @@ pipelines: master: - step: script: + - wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - + - sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' + - sudo apt update + - sudo apt install google-chrome-stable - npm ci - npm test