@@ -139,7 +139,7 @@ jobs:
139139 ${{ runner.os }}-pnpm-store
140140
141141 - name : Install dependencies
142- run : pnpm install
142+ run : pnpm install --frozen-lockfile
143143
144144 - name : DevExtreme - Build
145145 if : needs.determine-framework-tests-scope.outputs.framework-tests-scope == 'none'
@@ -240,12 +240,6 @@ jobs:
240240 working-directory : apps/demos
241241 run : pnpm add ../../devextreme-installer.tgz ../../devextreme-dist-installer.tgz ../../devextreme-react-installer.tgz ../../devextreme-vue-installer.tgz ../../devextreme-angular-installer.tgz
242242
243- # - name: Build wrappers
244- # run: pnpm exec nx run-many -t pack -p devextreme-angular devextreme-react devetreme-vue
245-
246- # - name: Link wrappers packages
247- # run: pnpm install
248-
249243 - name : Prepare bundles
250244 working-directory : apps/demos
251245 run : pnpm exec nx prepare-bundles
@@ -550,25 +544,40 @@ jobs:
550544 ${{ runner.os }}-pnpm-store
551545
552546 - name : Install dependencies
553- run : pnpm install
547+ run : pnpm install --frozen-lockfile
548+
549+ - name : Set Roboto font directory
550+ if : contains(matrix.THEME, 'material')
551+ run : echo "ROBOTO_FONT_DIR=${HOME}/.local/share/fonts/roboto" >> $GITHUB_ENV
554552
555553 - name : Cache Roboto font
556554 if : contains(matrix.THEME, 'material')
557555 id : cache-roboto
558556 uses : actions/cache@v4
559557 with :
560- path : /usr/share/fonts/truetype/roboto
561- key : roboto-font-${{ runner.os }}
558+ path : ${{ env.ROBOTO_FONT_DIR }}
559+ key : roboto-font-${{ runner.os }}-8b0a1d0f5983c89bc2b93f1b5fb55f9e252744b5
562560
563561 - name : Install Roboto font for Material theme
564562 if : contains(matrix.THEME, 'material') && steps.cache-roboto.outputs.cache-hit != 'true'
563+ env :
564+ GOOGLE_FONTS_COMMIT : 8b0a1d0f5983c89bc2b93f1b5fb55f9e252744b5
565+ ROBOTO_SHA256 : d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134
565566 run : |
566- echo "Installing Roboto font..."
567- sudo apt-get update -qq
568- sudo apt-get install -y -qq fonts-roboto fonts-roboto-unhinted
569- sudo fc-cache -f -v > /dev/null 2>&1 || true
567+ echo "Installing Roboto font from google/fonts (pinned commit)..."
568+ mkdir -p "$ROBOTO_FONT_DIR"
569+ BASE_URL="https://raw.githubusercontent.com/google/fonts/${GOOGLE_FONTS_COMMIT}/ofl/roboto"
570+
571+ curl -fsSL "${BASE_URL}/Roboto%5Bwdth%2Cwght%5D.ttf" -o /tmp/Roboto.ttf
572+ echo "${ROBOTO_SHA256} /tmp/Roboto.ttf" | sha256sum -c -
573+
574+ mv /tmp/Roboto.ttf "$ROBOTO_FONT_DIR/"
570575 echo "Roboto font installed"
571576
577+ - name : Refresh font cache
578+ if : contains(matrix.THEME, 'material')
579+ run : fc-cache -f > /dev/null 2>&1
580+
572581 - name : Run Web Server
573582 run : python -m http.server 8080 &
574583
0 commit comments