diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3759d2e7c2..1c85415afa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,8 +42,7 @@ jobs: pnpm install --frozen-lockfile --prefer-offline - name: Build - run: | - pnpm run build + run: pnpm run build - name: Publish NPM run: | @@ -52,11 +51,11 @@ jobs: git config --global user.email "you@example.com" git config --global user.name "Your Name" - # Depending on the STATE_TREE_DEPTH param, there + # Depending on the STATE_TREE_DEPTH param, there # might be changes in the EmptyBallotRoots.sol file git add contracts/contracts/trees/EmptyBallotRoots.sol git diff --staged --quiet || git commit -m "Commit changes before publishing" - pnpm exec lerna publish from-git --yes + pnpm exec lerna publish from-package --yes env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}