From 52835bd40a49257126f68fc671aab2e10d90fa1b Mon Sep 17 00:00:00 2001 From: Tudor Morar Date: Wed, 1 May 2024 16:41:25 +0300 Subject: [PATCH] Update compile script --- .github/workflows/npm-publish.yml | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index c697ee0..8ae460c 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -33,7 +33,7 @@ jobs: run: yarn test - name: Build project - run: yarn build + run: yarn compile - name: Get package info id: package @@ -43,10 +43,10 @@ jobs: env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} if: ${{ steps.package.outputs.is-prerelease == 'true'}} - run: echo ${{ steps.package.outputs.is-prerelease}} && cd dist && npm publish --tag next + run: echo ${{ steps.package.outputs.is-prerelease}} && npm publish --tag next - name: Publish to npmjs env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} if: ${{ steps.package.outputs.is-prerelease == 'false' }} - run: cd dist && npm publish + run: npm publish diff --git a/package.json b/package.json index 49f296b..f51a57d 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "url": "git+https://github.com/multiversx/mx-sdk-dapp-core.git" }, "scripts": { - "build": "tsc", + "compile": "tsc", "test": "jest", "compile-next": "tsc --p tsconfig.next.json" },