Skip to content

ci: Publish versions automatically #6

ci: Publish versions automatically

ci: Publish versions automatically #6

on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
name: Release Please
jobs:
release-please:
name: Release Please
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: pip-requirements-js
publish:
if: "startsWith(github.event.head_commit.message, 'chore(main): release')"
name: Publish new version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
cache: 'pnpm'
- run: pnpm install
- run: pnpm publish