Update component doc #1086
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update component doc" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "45 0 * * *" | |
jobs: | |
update-component-doc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: package.json | |
- name: generate doc | |
run: | | |
npm install | |
npm --workspace=@esri/calcite-design-tokens run build | |
npm --workspace=@esri/eslint-plugin-calcite-components run build | |
npx --workspace=@esri/calcite-components stencil build --docs | |
npm run --workspace=@esri/calcite-components lint:md | |
- name: commit readme files/create pull request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
base: main | |
branch: doc-update | |
commit-message: "docs: update component READMEs" | |
token: ${{ secrets.ADMIN_TOKEN }} | |
title: "docs: update component READMEs" | |
body: This PR was automatically generated by the update-doc GitHub action | |
labels: "docs" |