From 530ebfd3eb49535cbf7b47285360b978bb0d3822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Isager=20Dalsgar=C3=B0?= Date: Sat, 4 Jan 2025 11:25:21 +0100 Subject: [PATCH] Run tests on Node.js as well --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1a55f37..9bc3d42 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,10 @@ ], "addon": true, "scripts": { - "test": "prettier . --check && bare test.js" + "test": "npm run lint && npm run test:bare && npm run test:node", + "test:bare": "bare test.js", + "test:node": "node test.js", + "lint": "prettier . --check" }, "repository": { "type": "git",