From 133f0ed7f2afbac3ec0454797c9f8967d83836ed Mon Sep 17 00:00:00 2001 From: Bayheck Date: Tue, 26 Nov 2024 15:10:21 +0500 Subject: [PATCH] update: example with bitbucket --- .../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