Skip to content

fix(action): explicitly add package-manager for astro#92

Merged
debloper merged 1 commit intomainfrom
20250731-astro-action-npm
Jul 31, 2025
Merged

fix(action): explicitly add package-manager for astro#92
debloper merged 1 commit intomainfrom
20250731-astro-action-npm

Conversation

@debloper
Copy link
Copy Markdown
Owner

https://github.com/debloper/piosk/actions/runs/16654165831/job/47134671674

Run withastro/action@v4
Run len=`echo $INPUT_PM | wc -c`
No lockfile found.
Please specify your preferred "package-manager" in the action configuration.
Error: Process completed with exit code 1.

Copilot AI review requested due to automatic review settings July 31, 2025 16:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a GitHub Actions workflow failure by explicitly specifying the package manager for the Astro action. The workflow was failing because no lockfile was found and the action couldn't automatically detect the package manager to use.

  • Adds explicit package-manager: npm configuration to the withastro/action@v4 step
  • Resolves the "No lockfile found" error that was causing the workflow to fail

@debloper debloper merged commit 0607028 into main Jul 31, 2025
@debloper debloper added this to the v4.0.0 milestone Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants