Skip to content

Commit

Permalink
fix: fix unable to publish package
Browse files Browse the repository at this point in the history
  • Loading branch information
baumstern committed Feb 27, 2024
1 parent 99f7770 commit 4cc26ff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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 }}

0 comments on commit 4cc26ff

Please sign in to comment.