From 1a088514893e15c1718878c34c1487b3591e2afe Mon Sep 17 00:00:00 2001 From: Aleksandr Kraiz Date: Fri, 10 Feb 2023 18:21:45 +0400 Subject: [PATCH] Fix --- .github/workflows/prerelease-package.yml | 3 ++- .github/workflows/release-package.yml | 3 ++- package.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prerelease-package.yml b/.github/workflows/prerelease-package.yml index 18b4e24..e6f0844 100644 --- a/.github/workflows/prerelease-package.yml +++ b/.github/workflows/prerelease-package.yml @@ -14,7 +14,8 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '18.x' - - run: HUSKY=0 npm ci + - run: npm ci + - run: npm build - run: npm test - name: Set package registry run: npm config set registry https://npm.pkg.github.com diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index b4bf680..f5537c2 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -12,7 +12,8 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '18.x' - - run: HUSKY=0 npm ci + - run: npm ci + - run: npm build - run: npm test - name: Set package registry run: npm config set registry https://npm.pkg.github.com diff --git a/package.json b/package.json index c7417ac..92838d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.17.5-rc.3", + "version": "0.17.5-rc.4", "description": "Orion Protocol SDK", "main": "./lib/esm/index.js", "module": "./lib/esm/index.js", @@ -11,6 +11,7 @@ "clean": "rimraf lib/*", "watch-ts": "tsc -w --skipLibCheck", "watch-js": "nodemon lib/esm/index.js", + "prepare": "is-ci || husky install", "prebuild": "tsc", "build": "webpack", "coverage": "jest --coverage",