Version Packages #2
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
# On the Version Packages branch | |
# Generate and Commit the Typedoc JSON files | |
name: Commit Typdoc JSON files | |
on: | |
push: | |
branches: | |
- changeset-release/main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
typedoc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v3 | |
# bun setup is required, because pnpm typdoc will run pnpm build and some packages uses bun for build | |
- name: Setup bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1.0.21 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
- name: Typedoc | |
run: pnpm typedoc | |
- name: Commit changes | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git add -A | |
git commit -m "Commit Release Artifacts [skip ci]" | |
git push | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |