Skip to content

chore: release 3.3.1 #490

chore: release 3.3.1

chore: release 3.3.1 #490

# .github/workflows/release-please.yml

Check failure on line 1 in .github/workflows/release-please.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-please.yml

Invalid workflow file

(Line: 24, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory, (Line: 33, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory
# This workflow handles the release-please system that manages releasing new versions.
# It also calls `publish-npm.yml`, which then handles publishing to npmjs.
# See: https://github.com/googleapis/release-please
name: release-please
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
outputs:
core_release_created: ${{ steps.rp_core.outputs['packages/core--release_created'] }}
front_release_created: ${{ steps.rp_front.outputs['packages/front--release_created'] }}
steps:
# Release for packages/core
- name: Release Please (core)
- uses: googleapis/release-please-action@v4
id: rp_core
with:
release-type: node
path: packages/core
include-component-in-tag: true
# Release for packages/front
- name: Release Please (front)
- uses: googleapis/release-please-action@v4
id: rp_front
with:
release-type: node
path: packages/front
include-component-in-tag: true
publish:
needs: release
if: ${{ needs.release.outputs.core_release_created == 'true' || needs.release.outputs.front_release_created == 'true' }}
permissions:
contents: read
id-token: write
uses: ./.github/workflows/publish-npm.yml
with:
publish_core: ${{ needs.release.outputs.core_release_created == 'true' }}
publish_front: ${{ needs.release.outputs.front_release_created == 'true' }}