Skip to content

chore: doc

chore: doc #34

on:
push:
branches:
- master
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
pull-requests: write
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
token: ${{secrets.RELEASE_PLEASE_GITHUB_TOKEN}}
command: manifest
- if: ${{steps.release.outputs.releases_created}}
uses: actions/checkout@v4
- if: ${{steps.release.outputs.releases_created}}
uses: actions/setup-node@v4
with:
cache: "npm"
node-version: lts/iron
registry-url: "https://registry.npmjs.org"
- if: ${{steps.release.outputs.releases_created}}
env:
NODE_AUTH_TOKEN: ${{secrets.RELEASE_PLEASE_NPM_TOKEN}}
run: |
npm ci
npm run build
npm publish --provenance --access public