Skip to content

Commit

Permalink
chore: run npm publish --dry-run (#10748)
Browse files Browse the repository at this point in the history
* chore: run npm publish --dry-run

* fix: run npm publish
  • Loading branch information
nicolasbrugneaux authored Nov 21, 2023
1 parent a1f5dfd commit e17d67c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-mugs-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---

---

chore: run npm publish --dry-run
16 changes: 8 additions & 8 deletions .github/workflows/publish-contracts-abi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,20 @@ jobs:
RELEASE_TYPE: ${{ env.RELEASE_TYPE }}
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}

- if: ${{ env.RELEASE_VERSION != '' }}
name: Publish @celo/contracts
run: yarn publish contracts --tag latest --version $RELEASE_VERSION --no-git-tag-version
working-directory: packages/protocol
- name: Publish @celo/contracts
run: npm publish --tag latest $DRY_RUN
working-directory: packages/protocol/contracts
env:
RELEASE_TYPE: ${{ env.RELEASE_TYPE }}
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
NPM_TOKEN: ${{ env.NPM_TOKEN }}
DRY_RUN: ${{ env.RELEASE_VERSION == '' && '--dry-run' || '' }}

- if: ${{ env.RELEASE_VERSION != '' }}
name: Publish @celo/abis
run: yarn publish build/contracts --tag latest --version $RELEASE_VERSION --no-git-tag-version
working-directory: packages/protocol
- name: Publish @celo/abis
run: npm publish --tag latest $DRY_RUN
working-directory: packages/protocol/abis
env:
RELEASE_TYPE: ${{ env.RELEASE_TYPE }}
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
NPM_TOKEN: ${{ env.NPM_TOKEN }}
DRY_RUN: ${{ env.RELEASE_VERSION == '' && '--dry-run' || '' }}

0 comments on commit e17d67c

Please sign in to comment.