diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c713e81..574433a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,6 +56,15 @@ jobs: - name: Checkout uses: actions/checkout@v7 + - name: Setup Node.js + uses: actions/setup-node@v7 + with: + node-version: 20.x + cache: 'npm' + + - name: Install npm dependencies + run: npm ci + - name: Install Rust stable uses: dtolnay/rust-toolchain@stable @@ -69,8 +78,8 @@ jobs: librsvg2-dev \ patchelf - - name: Check desktop app - run: cargo check --locked --manifest-path src-tauri/Cargo.toml + - name: Build desktop app + run: npx tauri build --debug --no-bundle -- --locked security: runs-on: ubuntu-latest diff --git a/package-lock.json b/package-lock.json index 7a43035f..4f36694b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3671,9 +3671,9 @@ } }, "node_modules/@tauri-apps/api": { - "version": "2.12.3", - "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.12.3.tgz", - "integrity": "sha512-9s0PKw0p4r3kFq92jhpivYSp+cSht15o0gXpZxuQd0+dV9KCexEVkNaLELVoLdJWyoH4KlfQo5h3W2LIM8siJg==", + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.11.1.tgz", + "integrity": "sha512-M2FPuYND2m+wh5hfW9ZpSdxMPdEJovPBWwoHJmwUpysTYNHaOkVFN419m/K0LIgjb/7KU2vBgsUepJWugQCvAA==", "license": "Apache-2.0 OR MIT", "funding": { "type": "opencollective", @@ -3913,12 +3913,12 @@ } }, "node_modules/@tauri-apps/plugin-dialog": { - "version": "2.8.2", - "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-dialog/-/plugin-dialog-2.8.2.tgz", - "integrity": "sha512-LFqp8OTx0bHOwhKRhMMDyRDlo/2IO5XxoOclpf8+yvjAfM2ytVdbB6tk63dBlicsR8pRw38maj/GxrU6cW8mXw==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-dialog/-/plugin-dialog-2.7.1.tgz", + "integrity": "sha512-OK1UBXYt+ojcmxMktzzuyonYIFta8CmAASpX+CA+DTGK24KlHjhYI6x2iOJ/TjZF4N7/ACK1oFmEOjIY9IhzOQ==", "license": "MIT OR Apache-2.0", "dependencies": { - "@tauri-apps/api": "^2.12.0" + "@tauri-apps/api": "^2.11.0" } }, "node_modules/@tauri-apps/plugin-process": {