Skip to content

build(deps): bump actions/upload-artifact from 4.3.3 to 4.3.6 (#626) #56

build(deps): bump actions/upload-artifact from 4.3.3 to 4.3.6 (#626)

build(deps): bump actions/upload-artifact from 4.3.3 to 4.3.6 (#626) #56

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@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
with:
ref: main
- name: Generate docs
working-directory: js
run: |
yarn
yarn run build
yarn run make-docs
- name: Commit
run: |
git config --local user.email "[email protected]"
git config --local user.name "Luca Invernizzi"
git commit -m "Update docs" -a
git push