From 77c7b09113b3d4afd6aae68a4a55d7a171635120 Mon Sep 17 00:00:00 2001 From: hpp2334 Date: Fri, 8 Mar 2024 21:18:31 +0800 Subject: [PATCH] fix: run test --- .github/workflows/release.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7fab467..46246a62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: - name: Generate codes run: pnpm run generate - name: Run tests - run: cargo test --verbose + run: pnpm run test - name: Build APK run: pnpm run build:apk - name: Upload binaries to release diff --git a/package.json b/package.json index 89831b4d..7f165b4f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "index.js", "scripts": { "build:apk": "node ./scripts/build.js", - "generate": "node ./scripts/update_api.js" + "generate": "node ./scripts/update_api.js", + "test": "cd ./rust-libs && cargo test" }, "keywords": [], "author": "",