Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should allow github action to find netlify #329

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

vevetron
Copy link
Contributor

@vevetron vevetron commented Jan 8, 2025

Description

The error message was "netlify: command not found". This should install it globally so if it installed correctly, it can be found*!

*Though the recommend way to use netlify in this situation is --save-dev but we are moving on from netlify soon anyways.

Possibly Resolves #327

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

How has this been tested?

Not tested properly yet!

Did a little testing locally. I might be able to add ... npx netlify to the beginning and that might work as well. Or possibly npm install netlify-cli --save-dev

I don't know why this stopped working! But to be fair we haven't locked down many of the package versions.

Screenshots (optional)

Copy link

github-actions bot commented Jan 8, 2025

Preview url: https://PR-329--cal-itp-reports.netlify.app

Copy link
Member

@edasmalchi edasmalchi left a comment

Choose a reason for hiding this comment

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

worth a try!

@vevetron vevetron merged commit b677df0 into main Jan 8, 2025
2 checks passed
@vevetron vevetron deleted the test_github_action_fix branch January 8, 2025 22:22
@vevetron
Copy link
Contributor Author

vevetron commented Jan 9, 2025

This worked!

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.

Bug: Deployment fails due to npm issues
2 participants