Troubleshooting
"Repository not found" or "Authentication failed"
-
Verify the token has access to the repository.
-
Check the token has not expired.
-
Ensure correct credential format (no trailing whitespace).
-
For GitLab, ensure you’re using
oauth2as the username.
"Could not find start path"
-
Check the
start_pathin your playbook matches the actual directory structure. -
Ensure the branch specified exists in the repository.
"Multiple versions of pnpm specified" (pnpm/action-setup)
pnpm/action-setup@v4 errors if both its version input and package.json packageManager pin different releases. This action passes only package_json_file (no hard-coded version) so the version comes from your repo. Align any other pnpm/action-setup steps the same way, or set setup_pnpm: false after you install pnpm yourself.
Slow builds
-
Use
fetch: falseif you don’t need to update content sources. -
Consider caching
node_modules(install is usually fast, but caching helps large monorepos). -
The action enables
actions/setup-nodedependency cache (pnpmornpm) when it runs the setup step; if you usesetup_node: false, reuse your own cache configuration.