From 06d3b9407ba1d52b99e29898deb80dc1b1fbf7b9 Mon Sep 17 00:00:00 2001 From: Rastislav <rastislav@onion.email> Date: Fri, 16 Aug 2024 11:20:33 +0200 Subject: [PATCH] Tests fix --- .github/workflows/tests.yml | 4 ++-- package.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 802d318..4c799e5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x registry-url: https://registry.npmjs.org/ - run: npm i - run: npm run unit @@ -26,4 +26,4 @@ jobs: node-version: 20.x registry-url: https://registry.npmjs.org/ - run: npm i - - run: npm run standard + - run: npm run lint diff --git a/package.json b/package.json index 8eb50d6..f490cdc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "txms.js", - "version": "1.2.0", + "version": "1.2.1", "description": "Transaction messaging service protocol", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -11,6 +11,7 @@ "scripts": { "build": "tsc -p ./tsconfig.json", "test": "npm run unit", + "preunit": "npm run build", "unit": "tape test/*.js", "lint": "standard '**/*.js' --fix" },