Skip to content

Commit

Permalink
revert "add Cargo test in npm script"
Browse files Browse the repository at this point in the history
This reverts commit 1db8d21.
  • Loading branch information
g-plane committed Nov 27, 2023
1 parent 1db8d21 commit 52a9a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- run: cargo test
- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
".": "./swc_plugin_vue_jsx.wasm"
},
"scripts": {
"test": "cargo test && vitest run",
"test": "vitest",
"build": "cargo build -p swc-plugin-vue-jsx --target wasm32-unknown-unknown --release && cp target/wasm32-unknown-unknown/release/swc_plugin_vue_jsx.wasm .",
"prepublishOnly": "pnpm build"
},
Expand Down

0 comments on commit 52a9a12

Please sign in to comment.