chore: Workflow Bot -- Update ALL Dependencies (main) (#552) #387
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
name: " 🚀 release-please" | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
outputs: | |
release_created: ${{ steps.release.outputs.release_created }} | |
steps: | |
- uses: googleapis/release-please-action@v4 | |
id: release | |
with: | |
config-file: release-please-config.json | |
manifest-file: .release-please-manifest.json | |
# cspell:ignore noreply googleapis | |
publish: | |
runs-on: ubuntu-latest | |
needs: | |
- release-please | |
if: ${{ needs.release-please.outputs.release_created }} | |
steps: | |
# The logic below handles the npm publication: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_NPM}} | |
publish-docker: | |
needs: | |
- release-please | |
uses: ./.github/workflows/publish-docker-image.yml | |
if: ${{ needs.release-please.outputs.release_created }} |