Skip to content

Commit 59d0f63

Browse files
committed
feat(ts-sdk): run tests in nix
1 parent a3b0101 commit 59d0f63

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ts-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "index.js",
55
"scripts": {
66
"build": "tsup",
7-
"test": "vitest"
7+
"test": "vitest run"
88
},
99
"files": ["./src", "./dist"],
1010
"keywords": [],

ts-sdk/ts-sdk.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ _: {
1818
src = ./.;
1919

2020
npmDepsHash = "sha256-dFrd5jFaLjE3w9gXUdCx94/Nb3fi5RdxVKwGP6RdKAE=";
21+
22+
doCheck = true;
23+
checkPhase = ''
24+
npm run test
25+
'';
2126
};
2227

2328
};

0 commit comments

Comments
 (0)