Merge branch 'master' of github.com:poolifier/poolifier
[poolifier.git] / .github / workflows / generate-documentation.yml
index a59de95e6974ddbe96b9536e1aaee409578c5db1..82553b24e3a3cdd23c7bc6e582b565050e77ce58 100644 (file)
@@ -19,6 +19,7 @@ jobs:
       - name: Generate documentation
         run: |
           corepack enable
+          corepack prepare pnpm@latest --activate
           pnpm install
           pnpm run typedoc
 
@@ -27,6 +28,7 @@ jobs:
         run: |
           git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
           git config --local user.name "github-actions[bot]"
+          git add ./docs
           git commit -m "chore: generate documentation" -a
 
       - name: Push changes