ci: do not run bun tests (#215)

This commit is contained in:
xermicus
2025-02-17 17:04:53 +01:00
committed by GitHub
parent ee650cf03a
commit a73b0925c6
4 changed files with 6 additions and 22 deletions
-16
View File
@@ -9,7 +9,6 @@ on:
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
REVIVE_WASM_INSTALL_DIR: ${{ github.workspace }}/target/wasm32-unknown-emscripten/release REVIVE_WASM_INSTALL_DIR: ${{ github.workspace }}/target/wasm32-unknown-emscripten/release
BUN_VERSION: 1.1.43
jobs: jobs:
build-revive-wasm: build-revive-wasm:
@@ -113,21 +112,6 @@ jobs:
with: with:
node-version: "20" 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 - name: Install packages
run: npm install run: npm install
@@ -16,11 +16,11 @@
], ],
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@types/jest": "^29.5.11", "@types/jest": "^29.5.14",
"@types/shelljs": "^0.8.15", "@types/shelljs": "^0.8.15",
"jest": "^29.7.0", "jest": "^29.7.0",
"shelljs": "^0.8.5", "shelljs": "^0.8.5",
"ts-jest": "^29.1.1", "ts-jest": "^29.2.5",
"typescript": "^5.3.3" "typescript": "^5.7.3"
} }
} }
+1 -1
View File
@@ -21,4 +21,4 @@
"prettier": "^3.4.2", "prettier": "^3.4.2",
"terser": "^5.37.0" "terser": "^5.37.0"
} }
} }
+2 -2
View File
@@ -3,11 +3,11 @@
"private": true, "private": true,
"scripts": { "scripts": {
"test:cli": "npm run test -w crates/solidity/src/tests/cli-tests", "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" "build:package": "npm run build:package -w js"
}, },
"workspaces": [ "workspaces": [
"crates/solidity/src/tests/cli-tests", "crates/solidity/src/tests/cli-tests",
"js" "js"
] ]
} }