Files
2026-03-23 13:13:12 -07:00

42 lines
1.0 KiB
YAML

name: release-please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
if: ${{ steps.release.outputs['gh-axi--release_created'] }}
- uses: actions/setup-node@v6
if: ${{ steps.release.outputs['gh-axi--release_created'] }}
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
- run: npm ci
if: ${{ steps.release.outputs['gh-axi--release_created'] }}
working-directory: gh-axi
- run: npm run build
if: ${{ steps.release.outputs['gh-axi--release_created'] }}
working-directory: gh-axi
- run: npm publish --access public --provenance
if: ${{ steps.release.outputs['gh-axi--release_created'] }}
working-directory: gh-axi