Skip to content

Commit 7176cb4

Browse files
committed
added missing deps
1 parent 43e2786 commit 7176cb4

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/webpack.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,26 @@ jobs:
3535
with:
3636
node-version: 20
3737

38+
- name: Download Firmware Data
39+
uses: robinraju/[email protected]
40+
with:
41+
repository: "webosbrew/dev-toolbox-cli"
42+
latest: true
43+
fileName: "webosbrew-toolbox-fw-symbols_*.deb"
44+
out-file-path: "temp"
45+
46+
- name: Update Packages
47+
run: sudo apt-get -yq update
48+
49+
- name: Install webOS CLI
50+
run: sudo apt-get install ./temp/*.deb
51+
3852
- name: Build
3953
run: |
4054
npm ci
4155
npm run build
56+
env:
57+
WEBOSBREW_DEV_TOOLBOX_DATA: /usr/share/webosbrew/compat-checker/data
4258

4359
- name: Setup Pages
4460
uses: actions/configure-pages@v5

webpack/caniuse/firmwares.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class Firmware {
104104
* @return {Promise<Firmware[]>}
105105
*/
106106
static async load() {
107-
const dataRoot = process.env.DEV_TOOLBOX_DATA;
107+
const dataRoot = process.env.WEBOSBREW_DEV_TOOLBOX_DATA;
108108
if (!dataRoot) {
109109
return [];
110110
}

0 commit comments

Comments
 (0)