diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 84d0ac4..5c6e628 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,6 +8,29 @@ on: required: false jobs: + browser: + name: Browser assets + runs-on: ubuntu-24.04 + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + cache-dependency-path: browser/package-lock.json + + - name: Install browser dependencies + run: npm --prefix browser ci + + - name: Test browser assets + run: npm --prefix browser test + + - name: Build browser assets + run: npm --prefix browser run build + tests: name: Tests runs-on: ubuntu-24.04 diff --git a/browser/package-lock.json b/browser/package-lock.json index 195cf6d..72bcf3e 100644 --- a/browser/package-lock.json +++ b/browser/package-lock.json @@ -791,9 +791,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -811,9 +808,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -831,9 +825,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -851,9 +842,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -871,9 +859,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -891,9 +876,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1955,9 +1937,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -1979,9 +1958,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2003,9 +1979,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2027,9 +2000,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2569,11 +2539,13 @@ "cpu": [ "ppc64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "aix" ], + "peer": true, "engines": { "node": ">=18" } @@ -2585,11 +2557,13 @@ "cpu": [ "arm" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "android" ], + "peer": true, "engines": { "node": ">=18" } @@ -2601,11 +2575,13 @@ "cpu": [ "arm64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "android" ], + "peer": true, "engines": { "node": ">=18" } @@ -2617,11 +2593,13 @@ "cpu": [ "x64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "android" ], + "peer": true, "engines": { "node": ">=18" } @@ -2633,11 +2611,13 @@ "cpu": [ "arm64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "darwin" ], + "peer": true, "engines": { "node": ">=18" } @@ -2649,11 +2629,13 @@ "cpu": [ "x64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "darwin" ], + "peer": true, "engines": { "node": ">=18" } @@ -2665,11 +2647,13 @@ "cpu": [ "arm64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "freebsd" ], + "peer": true, "engines": { "node": ">=18" } @@ -2681,11 +2665,13 @@ "cpu": [ "x64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "freebsd" ], + "peer": true, "engines": { "node": ">=18" } @@ -2697,11 +2683,13 @@ "cpu": [ "arm" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">=18" } @@ -2713,11 +2701,13 @@ "cpu": [ "arm64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">=18" } @@ -2729,11 +2719,13 @@ "cpu": [ "ia32" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">=18" } @@ -2745,11 +2737,13 @@ "cpu": [ "loong64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">=18" } @@ -2761,11 +2755,13 @@ "cpu": [ "mips64el" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">=18" } @@ -2777,11 +2773,13 @@ "cpu": [ "ppc64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">=18" } @@ -2793,11 +2791,13 @@ "cpu": [ "riscv64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">=18" } @@ -2809,11 +2809,13 @@ "cpu": [ "s390x" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">=18" } @@ -2825,11 +2827,13 @@ "cpu": [ "x64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">=18" } @@ -2841,11 +2845,13 @@ "cpu": [ "arm64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "netbsd" ], + "peer": true, "engines": { "node": ">=18" } @@ -2857,11 +2863,13 @@ "cpu": [ "x64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "netbsd" ], + "peer": true, "engines": { "node": ">=18" } @@ -2873,11 +2881,13 @@ "cpu": [ "arm64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "openbsd" ], + "peer": true, "engines": { "node": ">=18" } @@ -2889,11 +2899,13 @@ "cpu": [ "x64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "openbsd" ], + "peer": true, "engines": { "node": ">=18" } @@ -2905,11 +2917,13 @@ "cpu": [ "arm64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "openharmony" ], + "peer": true, "engines": { "node": ">=18" } @@ -2921,11 +2935,13 @@ "cpu": [ "x64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "sunos" ], + "peer": true, "engines": { "node": ">=18" } @@ -2937,11 +2953,13 @@ "cpu": [ "arm64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "win32" ], + "peer": true, "engines": { "node": ">=18" } @@ -2953,11 +2971,13 @@ "cpu": [ "ia32" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "win32" ], + "peer": true, "engines": { "node": ">=18" } @@ -2969,11 +2989,13 @@ "cpu": [ "x64" ], - "extraneous": true, + "dev": true, "license": "MIT", + "optional": true, "os": [ "win32" ], + "peer": true, "engines": { "node": ">=18" } @@ -3009,9 +3031,11 @@ "version": "0.28.2", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", - "extraneous": true, + "dev": true, "hasInstallScript": true, "license": "MIT", + "optional": true, + "peer": true, "bin": { "esbuild": "bin/esbuild" },