Skip to content

Commit

Permalink
ci: do not run bun tests (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
xermicus authored Feb 17, 2025
1 parent ee650cf commit a73b092
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 22 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/build-revive-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions crates/solidity/src/tests/cli-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"prettier": "^3.4.2",
"terser": "^5.37.0"
}
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
}

0 comments on commit a73b092

Please sign in to comment.