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

Fix npm scripts tests #2285

Merged
merged 3 commits into from
Oct 25, 2023
Merged

Fix npm scripts tests #2285

merged 3 commits into from
Oct 25, 2023

Conversation

yahavi
Copy link
Member

@yahavi yahavi commented Oct 24, 2023

  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • The pull request is targeting the dev branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....

When you update the JFrog CLI version in the package.json and package-lock.json files just before the release, you might encounter the following error in Scripts Tests:

Downloading JFrog CLI 2.50.4
Unexpected status code 404 during JFrog CLI download

Example - https://github.com/jfrog/jfrog-cli/actions/runs/6615539545/job/17967922834

To address this problem, this PR resolves it by downloading the latest released JFrog CLI version during the test.

@yahavi yahavi requested a review from eyalbe4 October 24, 2023 15:25
@yahavi yahavi self-assigned this Oct 24, 2023
@yahavi yahavi added the ignore for release Automatically generated release notes label Oct 24, 2023
@yahavi yahavi merged commit 3db83b2 into jfrog:dev Oct 25, 2023
10 of 11 checks passed
@yahavi yahavi deleted the fix-npm-scripts branch October 25, 2023 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore for release Automatically generated release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants