From 59e10a041cfa3b38ec04e942ae88a0b0448f037b Mon Sep 17 00:00:00 2001 From: milahu Date: Wed, 4 Oct 2023 18:17:21 +0200 Subject: [PATCH 1/2] restore the prepare script: npm run build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2bc14ed..d05d50e 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "test:target": "mocha --recursive \"./test/tests\"", "test:ci": "cross-env TEST_TARGET=dist yarn run test:target", "posttest": "yarn run benchmark", - "prepare": "cd test && yarn install", + "prepare": "npm run build", "release": "standard-version && git push --follow-tags origin main" }, "keywords": [ From cd3fcd7ba3081c7b546351a282de04596fab502c Mon Sep 17 00:00:00 2001 From: milahu Date: Wed, 4 Oct 2023 18:28:58 +0200 Subject: [PATCH 2/2] fix the test:ci script: install packages in test/ --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d05d50e..44b6446 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "reset": "yarn run clean:global && yarn install && yarn build", "--------------- ": "", "test:target": "mocha --recursive \"./test/tests\"", - "test:ci": "cross-env TEST_TARGET=dist yarn run test:target", + "test:ci": "cd test && yarn install && cd .. && cross-env TEST_TARGET=dist yarn run test:target", "posttest": "yarn run benchmark", "prepare": "npm run build", "release": "standard-version && git push --follow-tags origin main"