We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f3069a commit 3756be4Copy full SHA for 3756be4
.github/workflows/build.yml
@@ -43,16 +43,19 @@ jobs:
43
key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
44
restore-keys: |
45
${{ runner.os }}-node-modules-
46
-
47
- - name: Set Environment Variables for node-gyp
48
- run: |
49
- setx OPENSSL_FIPS ""
50
51
52
- name: Install dependencies
53
if: steps.node-modules-cache.outputs.cache-hit != 'true'
54
run: yarn install
55
+ - name: Patch binding.gyp for openssl_fips
+ run: |
+ $file = "node_modules/register-scheme/binding.gyp"
+ (Get-Content $file) | ForEach-Object {
56
+ $_ -replace "'openssl_fips != \"\"'", "'openssl_fips != \"\" or \"openssl_fips\" in vars'"
57
+ } | Set-Content $file
58
+
59
- name: Run build script
60
run: .\build.bat
61
0 commit comments