Skip to content

chore(main): release 1.2.0 (#23) #21

chore(main): release 1.2.0 (#23)

chore(main): release 1.2.0 (#23) #21

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
secrets: inherit
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: js-utils
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 }}