Skip to content

Commit

Permalink
Update release.yaml (#6)
Browse files Browse the repository at this point in the history
* Update release.yaml

* fix: cicd

---------

Co-authored-by: rekyyang <[email protected]>
  • Loading branch information
gavin-xin and rekyyang authored May 27, 2024
1 parent d2f8e6a commit 35f83e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/twenty-ravens-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@node-real/web3-plugin-bundle": minor
---

fix cicd
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
release:

if: github.repository == 'node-real/web3.js-plugin-bundle'
name: release
permissions:
Expand Down Expand Up @@ -36,11 +37,13 @@ jobs:

- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1

with:
# Note: pnpm install after versioning is necessary to refresh lockfile
version: pnpm run version
publish: pnpm exec changeset publish
commit: 'chore: [ci] release'
title: 'chore: [ci] release'
secrets: inherit
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 35f83e5

Please sign in to comment.