From a73b0925c6db3f2cf7c8f7d03c98fe86a7d60691 Mon Sep 17 00:00:00 2001 From: xermicus Date: Mon, 17 Feb 2025 17:04:53 +0100 Subject: [PATCH] ci: do not run bun tests (#215) --- .github/workflows/build-revive-wasm.yml | 16 ---------------- crates/solidity/src/tests/cli-tests/package.json | 6 +++--- js/package.json | 2 +- package.json | 4 ++-- 4 files changed, 6 insertions(+), 22 deletions(-) diff --git a/.github/workflows/build-revive-wasm.yml b/.github/workflows/build-revive-wasm.yml index ac4a07a..63f5d92 100644 --- a/.github/workflows/build-revive-wasm.yml +++ b/.github/workflows/build-revive-wasm.yml @@ -9,7 +9,6 @@ on: env: CARGO_TERM_COLOR: always REVIVE_WASM_INSTALL_DIR: ${{ github.workspace }}/target/wasm32-unknown-emscripten/release - BUN_VERSION: 1.1.43 jobs: build-revive-wasm: @@ -113,21 +112,6 @@ jobs: with: node-version: "20" - - name: Install Bun on Windows - if: runner.os == 'Windows' - run: | - Set-ExecutionPolicy RemoteSigned -Scope CurrentUser - iex (new-object net.webclient).downloadstring('https://get.scoop.sh') - scoop install bun@${{ env.BUN_VERSION }} - scoop install wget - Join-Path (Resolve-Path ~).Path "scoop\shims" >> $Env:GITHUB_PATH - - - name: Install Bun on macOS and Linux - if: runner.os != 'Windows' - run: | - curl -fsSL https://bun.sh/install | bash -s bun-v${{ env.BUN_VERSION }} - echo "$HOME/.bun/bin" >> $GITHUB_PATH - - name: Install packages run: npm install diff --git a/crates/solidity/src/tests/cli-tests/package.json b/crates/solidity/src/tests/cli-tests/package.json index 43a3d1e..9da4de6 100644 --- a/crates/solidity/src/tests/cli-tests/package.json +++ b/crates/solidity/src/tests/cli-tests/package.json @@ -16,11 +16,11 @@ ], "license": "MIT", "devDependencies": { - "@types/jest": "^29.5.11", + "@types/jest": "^29.5.14", "@types/shelljs": "^0.8.15", "jest": "^29.7.0", "shelljs": "^0.8.5", - "ts-jest": "^29.1.1", - "typescript": "^5.3.3" + "ts-jest": "^29.2.5", + "typescript": "^5.7.3" } } \ No newline at end of file diff --git a/js/package.json b/js/package.json index 57cd9f1..24f2ffe 100644 --- a/js/package.json +++ b/js/package.json @@ -21,4 +21,4 @@ "prettier": "^3.4.2", "terser": "^5.37.0" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 76a83fa..c20e62c 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,11 @@ "private": true, "scripts": { "test:cli": "npm run test -w crates/solidity/src/tests/cli-tests", - "test:wasm": "npm run test:all -w js", + "test:wasm": "npm run test:node -w js", "build:package": "npm run build:package -w js" }, "workspaces": [ "crates/solidity/src/tests/cli-tests", "js" ] -} +} \ No newline at end of file