Skip to content

ci: Workflow Bot -- Update ALL Dependencies (main) (#481) #213

ci: Workflow Bot -- Update ALL Dependencies (main) (#481)

ci: Workflow Bot -- Update ALL Dependencies (main) (#481) #213

on:
workflow_dispatch:
push:
branches:
- main
name: ' 🚀 Release Please'
permissions:
contents: write
pull-requests: write
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
- name: release please output
env:
OUTPUTS: ${{ toJSON(steps.release.outputs) }}
run: echo "$OUTPUTS"
publish:
if: ${{ needs.release-please.outputs.release_created }}
runs-on: ubuntu-latest
needs:
- release-please
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Corepack Enable
run: corepack enable
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- name: Install / Build
run: |
pnpm install
- name: Publish
env:
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_NPM}}
run: |
pnpm publish
# cspell:ignore noreply googleapis