@@ -62,11 +62,12 @@ jobs:
6262 - name : Install pnpm
6363 uses : pnpm/action-setup@v6
6464 with :
65- version : 10
65+ cache : true
66+ version : 11
6667
6768 - uses : actions/setup-node@v6
6869 with :
69- node-version : 25
70+ node-version : 26
7071
7172 - name : Get pnpm store directory
7273 run : |
@@ -78,26 +79,29 @@ jobs:
7879 echo Version: $VERSION
7980 echo "VERSION=$VERSION" >> ${GITHUB_ENV}
8081 echo "DEFGUARD_CLIENT_BUILD_VERSION=${GITHUB_REF_NAME#v}" >> ${GITHUB_ENV}
81- - uses : actions/cache@v5
82- name : Setup pnpm cache
83- with :
84- path : ${{ env.STORE_PATH }}
85- key : ${{ runner.os }}-pnpm-build-store-${{ hashFiles('**/pnpm-lock.yaml') }}
86- restore-keys : |
87- ${{ runner.os }}-pnpm-build-store-
8882
8983 # Change to '--frozen-lockfile' once this gets fixed:
9084 # https://github.com/pnpm/action-setup/issues/40
9185 - name : Install Node dependencies
9286 run : pnpm install --no-frozen-lockfile
9387
88+ - name : Install Node dependencies for new UI
89+ run : |
90+ cd new-ui
91+ pnpm install --no-frozen-lockfile
92+
9493 - name : Install Rust stable
9594 uses : dtolnay/rust-toolchain@stable
9695
9796 - name : Install dependencies
9897 run : |
9998 apt-get install -y build-essential libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf libssl-dev libxdo-dev unzip protobuf-compiler libprotobuf-dev rpm
10099
100+ - name : Build new UI
101+ run : |
102+ cd new-ui
103+ pnpm build
104+
101105 - name : Build packages
102106 uses : tauri-apps/tauri-action@v0.5.23
103107 env :
@@ -166,31 +170,29 @@ jobs:
166170 echo "DEFGUARD_CLIENT_BUILD_VERSION=${GITHUB_REF_NAME#v}" >> ${GITHUB_ENV}
167171 - uses : actions/setup-node@v6
168172 with :
169- node-version : 25
173+ node-version : 26
170174
171175 - uses : pnpm/action-setup@v6
172176 with :
173- version : 10
177+ cache : true
178+ version : 11
174179 run_install : false
175180
176181 - name : Get pnpm store directory
177182 shell : bash
178183 run : |
179184 echo "STORE_PATH=$(pnpm store path --silent)" >> ${GITHUB_ENV}
180185
181- - name : Setup pnpm cache
182- uses : actions/cache@v5
183- with :
184- path : ${{ env.STORE_PATH }}
185- key : ${{ runner.os }}-pnpm-build-store-${{ hashFiles('**/pnpm-lock.yaml') }}
186- restore-keys : |
187- ${{ runner.os }}-pnpm-build-store-
188-
189186 # Change to '--frozen-lockfile' once this gets fixed:
190187 # https://github.com/pnpm/action-setup/issues/40
191188 - name : Install Node dependencies
192189 run : pnpm install --no-frozen-lockfile
193190
191+ - name : Install Node dependencies for new UI
192+ run : |
193+ cd new-ui
194+ pnpm install --no-frozen-lockfile
195+
194196 - name : Install Rust stable
195197 uses : dtolnay/rust-toolchain@stable
196198
@@ -199,6 +201,11 @@ jobs:
199201 sudo apt-get update
200202 sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf libssl-dev libxdo-dev unzip protobuf-compiler libprotobuf-dev rpm
201203
204+ - name : Build new UI
205+ run : |
206+ cd new-ui
207+ pnpm build
208+
202209 - name : Build packages
203210 uses : tauri-apps/tauri-action@v0.5.23 # .24 seems broken, TODO: update when fixed
204211 env :
@@ -343,21 +350,14 @@ jobs:
343350 # echo "VERSION=$env:VERSION" >> $env:GITHUB_ENV
344351 # - uses: actions/setup-node@v6
345352 # with:
346- # node-version: 25
353+ # node-version: 26
347354 # - uses: pnpm/action-setup@v6
348355 # with:
349- # version: 10
356+ # version: 11
350357 # run_install: false
351358 # - name: Get pnpm store directory
352359 # shell: bash
353360 # run: echo "STORE_PATH=$(pnpm store path --silent)" >> ${GITHUB_ENV}
354- # - uses: actions/cache@v5
355- # name: Setup pnpm cache
356- # with:
357- # path: ${{ env.STORE_PATH }}
358- # key: ${{ runner.os }}-pnpm-build-store-${{ hashFiles('**/pnpm-lock.yaml') }}
359- # restore-keys: |
360- # ${{ runner.os }}-pnpm-build-store-
361361 # - name: Install deps
362362 # run: pnpm install --frozen-lockfile
363363 # - uses: dtolnay/rust-toolchain@stable
0 commit comments