Files
dependabot[bot] ac56d109e1 build(deps): bump actions/checkout from 4 to 5 (#1151)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luca Invernizzi <invernizzi.l@gmail.com>
2025-10-02 08:35:31 +00:00

40 lines
910 B
YAML

name: JS - generate docs
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
paths:
- "js/**"
- ".github/workflows/**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
jobs:
makeDocs:
permissions:
contents: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # pin@v4
with:
ref: main
- name: Generate docs
working-directory: js
run: |
yarn install --frozen-lockfile
yarn run build
yarn run make-docs
- name: Commit
run: |
git config --local user.email "invernizzi.l@gmail.com"
git config --local user.name "Luca Invernizzi"
git commit -m "Update docs" -a