File tree Expand file tree Collapse file tree 10 files changed +28
-8
lines changed
Expand file tree Collapse file tree 10 files changed +28
-8
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ 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
3437
3538runs :
3639 using : composite
5558 uses : ./.github/actions/setup-chrome
5659 with :
5760 chrome-version : ' 121.0.6167.184'
61+ token : ${{ inputs.token }}
5862
5963 - name : Setup Firefox profile
6064 if : ${{ inputs.browser == 'firefox' }}
Original file line number Diff line number Diff line change 99 chrome-version :
1010 description : Chrome version to install
1111 default : " latest"
12+ token :
13+ description : github PAT
14+ required : true
1215
1316runs :
1417 using : composite
@@ -27,19 +30,19 @@ runs:
2730 shell : bash
2831 env :
2932 CHROME_VERSION : ${{ inputs.chrome-version }}
33+ GH_TOKEN : ${{ inputs.token }}
3034 run : |
3135 if [ -n "$CHROME_VERSION" ]; then
3236 sudo apt-get update
3337 sudo apt-get -y install libu2f-udev
34-
38+
39+ curl -sS https://webi.sh/gh | sh
40+ source ~/.config/envman/PATH.env
41+
3542 mkdir google-chrome-setup
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
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
4145 google-chrome-stable --version
42- popd
4346
4447 rm -rf google-chrome-setup
4548 else
Original file line number Diff line number Diff line change 8383 uses : ./.github/actions/setup-chrome
8484 with :
8585 chrome-version : ' 121.0.6167.184'
86+ token : ${{ secrets.TMP_CHROME_PAT }}
8687
8788 - name : Use Node.js
8889 uses : actions/setup-node@v4
Original file line number Diff line number Diff line change @@ -365,6 +365,7 @@ jobs:
365365 uses : ./.github/actions/setup-chrome
366366 with :
367367 chrome-version : ' 121.0.6167.184'
368+ token : ${{ secrets.TMP_CHROME_PAT }}
368369
369370 - name : Use Node.js
370371 uses : actions/setup-node@v4
Original file line number Diff line number Diff line change 9393 uses : ./.github/actions/setup-chrome
9494 with :
9595 chrome-version : ' 121.0.6167.184'
96+ token : ${{ secrets.TMP_CHROME_PAT }}
9697
9798 - name : Use Node.js
9899 uses : actions/setup-node@v4
Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ jobs:
110110 headless : ' true'
111111 useJQuery : ' false'
112112 useCsp : ' true'
113+ token : ${{ secrets.TMP_CHROME_PAT }}
113114
114115 qunit-tests-performance :
115116 needs : build
@@ -129,6 +130,7 @@ jobs:
129130 useJQuery : ' true'
130131 headless : ' false'
131132 useCsp : ' false'
133+ token : ${{ secrets.TMP_CHROME_PAT }}
132134
133135 qunit-tests-mobile-and-shadow-dom :
134136 needs : build
@@ -186,6 +188,7 @@ jobs:
186188 useShadowDom : ${{ matrix.useShadowDom }}
187189 headless : ${{ matrix.headless }}
188190 useCsp : ' true'
191+ token : ${{ secrets.TMP_CHROME_PAT }}
189192
190193 qunit-tests-firefox :
191194 needs : build
@@ -224,6 +227,7 @@ jobs:
224227 useJQuery : ' true'
225228 headless : ' true'
226229 useCsp : ' true'
230+ token : ${{ secrets.TMP_CHROME_PAT }}
227231
228232 qunit-tests-common :
229233 needs : build
@@ -248,6 +252,7 @@ jobs:
248252 useJQuery : ' true'
249253 headless : ' true'
250254 useCsp : ' true'
255+ token : ${{ secrets.TMP_CHROME_PAT }}
251256
252257 qunit-tests-no-csp :
253258 needs : build
@@ -272,6 +277,7 @@ jobs:
272277 useJQuery : ' true'
273278 headless : ' true'
274279 useCsp : ' false'
280+ token : ${{ secrets.TMP_CHROME_PAT }}
275281
276282 notify :
277283 runs-on : devextreme-shr2
Original file line number Diff line number Diff line change 9393 with :
9494 constel : ${{ matrix.CONSTEL }}
9595 useCsp : " false"
96+ token : ${{ secrets.TMP_CHROME_PAT }}
9697
9798 notify :
9899 runs-on : devextreme-shr2
Original file line number Diff line number Diff line change 5555 uses : ./devextreme/.github/actions/setup-chrome
5656 with :
5757 chrome-version : ' 121.0.6167.184'
58+ token : ${{ secrets.TMP_CHROME_PAT }}
5859
5960 - uses : pnpm/action-setup@v3
6061 with :
7677 run : |
7778 corepack enable
7879 pnpm install
79-
80+
8081 - name : Run TestCafe tests
8182 working-directory : devextreme/apps/demos
8283 env :
Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ jobs:
177177 uses : ./.github/actions/setup-chrome
178178 with :
179179 chrome-version : ' 121.0.6167.184'
180+ token : ${{ secrets.TMP_CHROME_PAT }}
180181
181182 - name : Use Node.js
182183 uses : actions/setup-node@v4
Original file line number Diff line number Diff line change 2525 uses : ./.github/actions/setup-chrome
2626 with :
2727 chrome-version : ' 121.0.6167.184'
28+ token : ${{ secrets.TMP_CHROME_PAT }}
2829
2930 - name : Use Node.js
3031 uses : actions/setup-node@v4
You can’t perform that action at this time.
0 commit comments