@@ -42,44 +42,16 @@ runs:
4242 echo "MATRIX_ENVS_NAME_SAFE=$MATRIX_ENVS_NAME_SAFE"
4343 echo "MATRIX_ENVS_NAME_SAFE=$MATRIX_ENVS_NAME_SAFE" >> $GITHUB_ENV
4444
45- # - name: Update apt
46- # run: |
47- # sudo apt-get update
48-
49- # - name: Setup utils
50- # run: |
51- # sudo apt-get install -y dbus-x11 httping x11vnc xvfb
52-
53- - name : Setup Chrome
54- if : ${{ inputs.browser == 'chrome' }}
55- uses : ./.github/actions/setup-chrome-headless-shell
56- with :
57- chrome-version : ' 145.0.7632.67'
58-
59- - name : Setup Firefox profile
60- if : ${{ inputs.browser == 'firefox' }}
61- shell : bash
62- run : |
63- mkdir -p /tmp/firefox-profile
64- for p in \
65- '"browser.shell.checkDefaultBrowser", false' \
66- '"datareporting.policy.dataSubmissionEnabled", false' \
67- '"font.name-list.monospace.x-western", "Liberation Mono"' \
68- '"font.name-list.sans-serif.x-western", "Liberation Sans"' \
69- '"font.name-list.serif.x-western", "Liberation Serif"' ; do echo "user_pref($p);" >> /tmp/firefox-profile/prefs.js; done
70-
71- - name : Setup Firefox
72- if : ${{ inputs.browser == 'firefox' }}
73- id : setup-firefox
74- uses : browser-actions/setup-firefox@v1
75- with :
76- firefox-version : ' 122.0.1'
77-
7845 - name : Use Node.js
7946 uses : actions/setup-node@v4
8047 with :
8148 node-version : ' 20'
8249
50+ - uses : pnpm/action-setup@v3
51+ with :
52+ version : 9
53+ run_install : false
54+
8355 - name : Download artifacts
8456 uses : actions/download-artifact@v4
8557 with :
9365 rm -rf artifacts/npm
9466 7z x artifacts.zip
9567
96- - uses : pnpm/action-setup@v3
97- with :
98- version : 9
99- run_install : false
100-
10168 - name : Get pnpm store directory
10269 shell : bash
10370 run : |
@@ -122,6 +89,31 @@ runs:
12289 shell : bash
12390 run : dotnet build build/build-dotnet.sln
12491
92+ - name : Setup Chrome
93+ if : ${{ inputs.browser == 'chrome' }}
94+ uses : ./.github/actions/setup-chrome-headless-shell
95+ with :
96+ chrome-version : ' 145.0.7632.67'
97+
98+ - name : Setup Firefox profile
99+ if : ${{ inputs.browser == 'firefox' }}
100+ shell : bash
101+ run : |
102+ mkdir -p /tmp/firefox-profile
103+ for p in \
104+ '"browser.shell.checkDefaultBrowser", false' \
105+ '"datareporting.policy.dataSubmissionEnabled", false' \
106+ '"font.name-list.monospace.x-western", "Liberation Mono"' \
107+ '"font.name-list.sans-serif.x-western", "Liberation Sans"' \
108+ '"font.name-list.serif.x-western", "Liberation Serif"' ; do echo "user_pref($p);" >> /tmp/firefox-profile/prefs.js; done
109+
110+ - name : Setup Firefox
111+ if : ${{ inputs.browser == 'firefox' }}
112+ id : setup-firefox
113+ uses : browser-actions/setup-firefox@v1
114+ with :
115+ firefox-version : ' 122.0.1'
116+
125117 - name : Run QUnit tests
126118 working-directory : ./packages/devextreme
127119 shell : bash
0 commit comments