File tree Expand file tree Collapse file tree 7 files changed +7
-1
lines changed Expand file tree Collapse file tree 7 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ jobs:
172172 name : Run tests in workspace
173173 run : |
174174 rustup target add wasm32-wasip1-threads
175- pnpm run build
175+ pnpm run build-test
176176 pnpm run test
177177 - if : steps.filter.outputs.src == 'true'
178178 name : Run e2e tests
Original file line number Diff line number Diff line change 55 "browser" : " browser.js" ,
66 "scripts" : {
77 "build-dev" : " napi build --platform" ,
8+ "build-test" : " pnpm run build" ,
89 "build" : " pnpm run build-dev --features allocator --release" ,
910 "postbuild-dev" : " node patch.mjs" ,
1011 "test" : " tsc && vitest run --dir ./test"
Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "scripts" : {
77 "build-dev" : " napi build --platform --js ./bindings.js --dts ./bindings.d.ts --output-dir src --no-dts-cache --esm" ,
8+ "build-test" : " pnpm run build-dev --release" ,
89 "build" : " pnpm run build-dev --release" ,
910 "test" : " vitest"
1011 },
Original file line number Diff line number Diff line change 55 "browser" : " wasm.mjs" ,
66 "scripts" : {
77 "build-dev" : " napi build --platform --js bindings.js" ,
8+ "build-test" : " pnpm run build" ,
89 "build" : " pnpm run build-dev --features allocator --release" ,
910 "postbuild-dev" : " node patch.mjs" ,
1011 "build-wasi" : " pnpm run build-dev --release --target wasm32-wasip1-threads" ,
Original file line number Diff line number Diff line change 1414 },
1515 "scripts" : {
1616 "build-dev" : " napi build --platform --target wasm32-wasip1-threads && node patch.mjs" ,
17+ "build-test" : " pnpm run build" ,
1718 "build" : " napi build --platform --release --target wasm32-wasip1-threads && node patch.mjs"
1819 },
1920 "dependencies" : {
Original file line number Diff line number Diff line change 55 "browser" : " browser.js" ,
66 "scripts" : {
77 "build-dev" : " napi build --platform" ,
8+ "build-test" : " pnpm run build" ,
89 "build" : " pnpm run build-dev --features allocator --release" ,
910 "postbuild-dev" : " node patch.mjs" ,
1011 "test" : " tsc && vitest run --dir ./test"
Original file line number Diff line number Diff line change 88 "scripts" : {
99 "build" : " pnpm --workspace-concurrency=1 --filter './napi/*' build" ,
1010 "build-dev" : " pnpm --workspace-concurrency=1 --filter './napi/*' build-dev" ,
11+ "build-test" : " pnpm --workspace-concurrency=1 --filter './napi/*' build-test" ,
1112 "test" : " pnpm --workspace-concurrency=1 --filter './napi/*' test"
1213 },
1314 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments