Skip to content

Commit 1b0b700

Browse files
authored
Revert "CI: Download Chrome" (DevExpress#29125)
1 parent 7ccb92a commit 1b0b700

File tree

10 files changed

+8
-28
lines changed

10 files changed

+8
-28
lines changed

.github/actions/run-qunit-tests/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ inputs:
3131
useCsp:
3232
description: "Indicates if tests should run with Content Security Policy (CSP) enabled"
3333
default: "true"
34-
token:
35-
description: "Tmp PAT for downloading Chrome"
36-
required: true
3734

3835
runs:
3936
using: composite
@@ -58,7 +55,6 @@ runs:
5855
uses: ./.github/actions/setup-chrome
5956
with:
6057
chrome-version: '121.0.6167.184'
61-
token: ${{ inputs.token }}
6258

6359
- name: Setup Firefox profile
6460
if: ${{ inputs.browser == 'firefox' }}

.github/actions/setup-chrome/action.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ inputs:
99
chrome-version:
1010
description: Chrome version to install
1111
default: "latest"
12-
token:
13-
description: github PAT
14-
required: true
1512

1613
runs:
1714
using: composite
@@ -30,19 +27,19 @@ runs:
3027
shell: bash
3128
env:
3229
CHROME_VERSION: ${{ inputs.chrome-version }}
33-
GH_TOKEN: ${{ inputs.token }}
3430
run: |
3531
if [ -n "$CHROME_VERSION" ]; then
3632
sudo apt-get update
3733
sudo apt-get -y install libu2f-udev
38-
39-
curl -sS https://webi.sh/gh | sh
40-
source ~/.config/envman/PATH.env
41-
34+
4235
mkdir google-chrome-setup
43-
gh release download 1.0.0 --repo DevExpress/tmp-chrome-image --pattern "*.deb" --dir ./google-chrome-setup
44-
sudo dpkg -i google-chrome-setup/google-chrome-stable_121.0.6167.184-1_amd64.deb
36+
pushd google-chrome-setup
37+
npm init -y
38+
npm set //npm.pkg.github.com/:_authToken="${{ github.token }}"
39+
npm i @devexpress/[email protected] --registry=https://npm.pkg.github.com
40+
sudo dpkg -i node_modules/@devexpress/devextreme-google-chrome-image/google-chrome-stable_121.0.6167.184-1_amd64.deb
4541
google-chrome-stable --version
42+
popd
4643
4744
rm -rf google-chrome-setup
4845
else

.github/workflows/demos_visual_tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ jobs:
8383
uses: ./.github/actions/setup-chrome
8484
with:
8585
chrome-version: '121.0.6167.184'
86-
token: ${{ secrets.TMP_CHROME_PAT }}
8786

8887
- name: Use Node.js
8988
uses: actions/setup-node@v4

.github/workflows/demos_visual_tests_frameworks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ jobs:
365365
uses: ./.github/actions/setup-chrome
366366
with:
367367
chrome-version: '121.0.6167.184'
368-
token: ${{ secrets.TMP_CHROME_PAT }}
369368

370369
- name: Use Node.js
371370
uses: actions/setup-node@v4

.github/workflows/playgrounds_tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ jobs:
9393
uses: ./.github/actions/setup-chrome
9494
with:
9595
chrome-version: '121.0.6167.184'
96-
token: ${{ secrets.TMP_CHROME_PAT }}
9796

9897
- name: Use Node.js
9998
uses: actions/setup-node@v4

.github/workflows/qunit_tests-additional-renovation.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ jobs:
110110
headless: 'true'
111111
useJQuery: 'false'
112112
useCsp: 'true'
113-
token: ${{ secrets.TMP_CHROME_PAT }}
114113

115114
qunit-tests-performance:
116115
needs: build
@@ -130,7 +129,6 @@ jobs:
130129
useJQuery: 'true'
131130
headless: 'false'
132131
useCsp: 'false'
133-
token: ${{ secrets.TMP_CHROME_PAT }}
134132

135133
qunit-tests-mobile-and-shadow-dom:
136134
needs: build
@@ -188,7 +186,6 @@ jobs:
188186
useShadowDom: ${{ matrix.useShadowDom }}
189187
headless: ${{ matrix.headless }}
190188
useCsp: 'true'
191-
token: ${{ secrets.TMP_CHROME_PAT }}
192189

193190
qunit-tests-firefox:
194191
needs: build
@@ -227,7 +224,6 @@ jobs:
227224
useJQuery: 'true'
228225
headless: 'true'
229226
useCsp: 'true'
230-
token: ${{ secrets.TMP_CHROME_PAT }}
231227

232228
qunit-tests-common:
233229
needs: build
@@ -252,7 +248,6 @@ jobs:
252248
useJQuery: 'true'
253249
headless: 'true'
254250
useCsp: 'true'
255-
token: ${{ secrets.TMP_CHROME_PAT }}
256251

257252
qunit-tests-no-csp:
258253
needs: build
@@ -277,7 +272,6 @@ jobs:
277272
useJQuery: 'true'
278273
headless: 'true'
279274
useCsp: 'false'
280-
token: ${{ secrets.TMP_CHROME_PAT }}
281275

282276
notify:
283277
runs-on: devextreme-shr2

.github/workflows/qunit_tests-renovation.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ jobs:
9393
with:
9494
constel: ${{ matrix.CONSTEL }}
9595
useCsp: "false"
96-
token: ${{ secrets.TMP_CHROME_PAT }}
9796

9897
notify:
9998
runs-on: devextreme-shr2

.github/workflows/run-testcafe-on-gh-pages.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
uses: ./devextreme/.github/actions/setup-chrome
5656
with:
5757
chrome-version: '121.0.6167.184'
58-
token: ${{ secrets.TMP_CHROME_PAT }}
5958

6059
- uses: pnpm/action-setup@v3
6160
with:
@@ -77,7 +76,7 @@ jobs:
7776
run: |
7877
corepack enable
7978
pnpm install
80-
79+
8180
- name: Run TestCafe tests
8281
working-directory: devextreme/apps/demos
8382
env:

.github/workflows/testcafe_tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ jobs:
177177
uses: ./.github/actions/setup-chrome
178178
with:
179179
chrome-version: '121.0.6167.184'
180-
token: ${{ secrets.TMP_CHROME_PAT }}
181180

182181
- name: Use Node.js
183182
uses: actions/setup-node@v4

.github/workflows/wrapper_tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
uses: ./.github/actions/setup-chrome
2626
with:
2727
chrome-version: '121.0.6167.184'
28-
token: ${{ secrets.TMP_CHROME_PAT }}
2928

3029
- name: Use Node.js
3130
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)