diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b973b8..43e8936 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,8 @@ jobs: echo "The Git tag extracted from GitHub Actions: $GIT_TAG_NAME" npm version --allow-same-version=true --git-tag-version=false "$GIT_TAG_NAME" + - name: Build package + run: npm i && npm run build + - name: Publish the package - run: | - npm publish + run: npm publish diff --git a/package.json b/package.json index 0718d89..9abd60d 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,9 @@ "bin": { "dj": "lib/index.js" }, - "files": ["lib/**/*"], + "files": [ + "lib/**/*" + ], "dependencies": { "@polkadot/api": "1.30.0-beta.0", "@polkadot/keyring": "3.3.1",