Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: release-please use node workspaces plugin #119

Merged
merged 1 commit into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,25 @@ jobs:
outputs:
releases_created: ${{ steps.release.outputs.releases_created }}
steps:
- uses: google-github-actions/release-please-action@v4
id: release
- uses: google-github-actions/release-please-action@v3
with:
# this assumes that you have created a personal access token (PAT)
command: manifest
token: ${{ secrets.LEATHER_BOT }}
# optional. customize path to release-please-config.json
config-file: release-please-config.json
# optional. customize path to .release-please-manifest.json
manifest-file: .release-please-manifest.json
# Our target branch should be `dev`
target-branch: dev
default-branch: dev

# TODO(leather-wallet/mono#133): get this back when release-please-action@4 gets an update for pnpm node workspaces.
# steps:
# - uses: google-github-actions/release-please-action@v4
# id: release
# with:
# # this assumes that you have created a personal access token (PAT)
# token: ${{ secrets.LEATHER_BOT }}
# # optional. customize path to release-please-config.json
# config-file: release-please-config.json
# # optional. customize path to .release-please-manifest.json
# manifest-file: .release-please-manifest.json
# # Our target branch should be `dev`
# target-branch: dev

# The logic below handles the npm publication:
deploy:
Expand Down
7 changes: 6 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,10 @@
"draft": false,
"prerelease": false
}
}
},
"plugins": [
{
"type": "node-workspace"
}
]
}
Loading