Skip to content

Commit

Permalink
chore: upgrade ci to use release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra committed Oct 10, 2023
1 parent f372bee commit cf26041
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 34 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/dispatch-draft-release.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please
jobs:
test-node:
uses: bgd-labs/github-workflows/.github/workflows/test-node.yml@main

release-please:
runs-on: ubuntu-latest
outputs:
releaseCreated: ${{ steps.release.outputs.release_created }}
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: aave-cli
pull-request-header: 'I have created a release'

release-node:
uses: bgd-labs/github-workflows/.github/workflows/release-node.yml@main
if: ${{ needs.release-please.outputs.releaseCreated }}
needs:
- test-node
- release-please
secrets:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
22 changes: 0 additions & 22 deletions .github/workflows/test-release.yml

This file was deleted.

0 comments on commit cf26041

Please sign in to comment.