From 54d5cd1b6c67bc8c3a962c22cd48d9c354462ff3 Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Tue, 17 Dec 2024 21:35:59 +0530 Subject: [PATCH] (ci/cd): updated node to latest lts --- .github/workflows/release.yml | 2 +- src-tauri/tauri.macos.conf.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 76b1dd2..8d3b105 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: - name: 📦 Setup node uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 'lts/*' cache: 'npm' - name: 🛠️ install Rust stable diff --git a/src-tauri/tauri.macos.conf.json b/src-tauri/tauri.macos.conf.json index 752d5d2..bf1a237 100644 --- a/src-tauri/tauri.macos.conf.json +++ b/src-tauri/tauri.macos.conf.json @@ -1,7 +1,7 @@ { "build": { - "beforeBuildCommand": "[[ -n \"$TARGET_ARCH\" ]] && ARCH=\"$TARGET_ARCH\" || ARCH=\"$(uname -m | sed 's/^arm64$/aarch64/')-apple-darwin\" && cargo build --release --target=$ARCH --manifest-path=./src-tauri/msghost/Cargo.toml && cargo build --release --target=$ARCH --manifest-path=./src-tauri/autostart/Cargo.toml && node copyMacFiles.js && npm run build", "beforeDevCommand": "[[ -n \"$TARGET_ARCH\" ]] && ARCH=\"$TARGET_ARCH\" || ARCH=\"$(uname -m | sed 's/^arm64$/aarch64/')-apple-darwin\" && cargo build --target=$ARCH --manifest-path=./src-tauri/msghost/Cargo.toml && cargo build --target=$ARCH --manifest-path=./src-tauri/autostart/Cargo.toml && npm run dev", + "beforeBuildCommand": "[[ -n \"$TARGET_ARCH\" ]] && ARCH=\"$TARGET_ARCH\" || ARCH=\"$(uname -m | sed 's/^arm64$/aarch64/')-apple-darwin\" && cargo build --release --target=$ARCH --manifest-path=./src-tauri/msghost/Cargo.toml && cargo build --release --target=$ARCH --manifest-path=./src-tauri/autostart/Cargo.toml && node copyMacFiles.js && npm run build", "devPath": "http://localhost:1422", "distDir": "../dist" },