Skip to content

Commit

Permalink
Configure node options via environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgDangl committed Nov 29, 2022
1 parent 1162108 commit d254e06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pipeline {
KeyVaultBaseUrl = credentials('AzureCiKeyVaultBaseUrl')
KeyVaultClientId = credentials('AzureCiKeyVaultClientId')
KeyVaultClientSecret = credentials('AzureCiKeyVaultClientSecret')
NODE_OPTIONS = '--openssl-legacy-provider'
}
stages {
stage ('Test') {
Expand Down
2 changes: 1 addition & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void SendTeamsMessage(string title, string message, bool isError)
? "latest"
: "next";

Npm($"publish --tag={npmTag} --openssl-legacy-provider", distDirectory);
Npm($"publish --tag={npmTag}", distDirectory);

if (npmTag == "latest")
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"build": "tsc && npm run webpack",
"webpack": "webpack --mode production --openssl-legacy-provider",
"webpack": "webpack --mode production",
"tsc": "tsc",
"test": "karma start karma.conf.js",
"test:ci": "karma start karma.conf.ci.js",
Expand Down

0 comments on commit d254e06

Please sign in to comment.