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

Try fix #1712 #1805

Merged
merged 1 commit into from
Apr 21, 2023
Merged

Try fix #1712 #1805

merged 1 commit into from
Apr 21, 2023

Conversation

orcation
Copy link
Contributor

For issue #1712, I found that there are two ways that may work

  1. Modify script in src/HealthChecks.UI/package.json:
    use this script
    "build": "export NODE_OPTIONS=--openssl-legacy-provider && npm run build:dll && npm run build:prod"
    to replace the origin one
    "build": "npm run build:dll && npm run build:prod"

  2. Add environment parameter in .github/workflows/healthchecks_ui_ci.yml

I personally prefer the second one because the first approach hides an environment parameter inside a script, it might be very hard to maintain, So I took the second one in this PR.

This may not be the final answer, any advice would be greatly appreciated.

@github-actions github-actions bot added the github_actions Pull requests that update Github_actions code label Apr 21, 2023
@orcation
Copy link
Contributor Author

@dotnet-policy-service agree

@sungam3r
Copy link
Collaborator

@orcation Thank you very much for fix.

@sungam3r sungam3r merged commit 311ddec into Xabaril:master Apr 21, 2023
@sungam3r sungam3r linked an issue Apr 21, 2023 that may be closed by this pull request
@sungam3r sungam3r mentioned this pull request Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update Github_actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with UI CI
2 participants