Skip to content

API to readme

API to readme #1387

name: API to readme
on:
schedule:
- cron: 31 14 * * 6
push:
paths:
- "src/*"
workflow_dispatch:
jobs:
update_readme_api:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- name: prepare node
uses: actions/[email protected]
with:
node-version: 22.6.0
- name: install
run: npm ci
- name: run docs
run: npm run docs
- uses: gr2m/create-or-update-pull-request-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path: "README.md"
title: "Sync API into README"
branch: "readme-api"
commit-message: "docs(README): sync API"