Skip to content

Commit

Permalink
feat: add node option to support legacy openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
Kav91 committed Sep 16, 2024
1 parent 6a891d8 commit ce67a08
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/catalog-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ jobs:
with:
node-version: 20

# Set environment variable for OpenSSL compatibility
- name: Set Node.js options to support legacy OpenSSL
run: |
echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- name: Install Dependencies
if: env.SUBMODULE_NAME != ''
working-directory: ./${{ env.SUBMODULE_NAME }}
Expand Down Expand Up @@ -140,6 +145,11 @@ jobs:
with:
node-version: 20

# Set environment variable for OpenSSL compatibility
- name: Set Node.js options to support legacy OpenSSL
run: |
echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- name: Install Dependencies
if: env.SUBMODULE_NAME != ''
working-directory: ./${{ env.SUBMODULE_NAME }}
Expand Down Expand Up @@ -212,6 +222,11 @@ jobs:
with:
node-version: 20

# Set environment variable for OpenSSL compatibility
- name: Set Node.js options to support legacy OpenSSL
run: |
echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- name: Install Dependencies
if: env.SUBMODULE_NAME != ''
working-directory: ./${{ env.SUBMODULE_NAME }}
Expand Down Expand Up @@ -284,6 +299,11 @@ jobs:
with:
node-version: 20

# Set environment variable for OpenSSL compatibility
- name: Set Node.js options to support legacy OpenSSL
run: |
echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
# Custom action to check for OSS files
- name: compile files-present-action
if: env.SUBMODULE_NAME != ''
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/check-for-deprecations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
with:
node-version: 20

# Set environment variable for OpenSSL compatibility
- name: Set Node.js options to support legacy OpenSSL
run: |
echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- name: Install dependencies
run: cd utils && yarn install

Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ jobs:
with:
node-version: 20

# Set environment variable for OpenSSL compatibility
- name: Set Node.js options to support legacy OpenSSL
run: |
echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- name: Install Dependencies
if: env.SUBMODULE_NAME != ''
working-directory: ./${{ env.SUBMODULE_NAME }}
Expand Down Expand Up @@ -153,6 +158,11 @@ jobs:
with:
node-version: 20

# Set environment variable for OpenSSL compatibility
- name: Set Node.js options to support legacy OpenSSL
run: |
echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- name: compile map-global-uuid
if: env.SUBMODULE_NAME != ''
run: |
Expand Down

0 comments on commit ce67a08

Please sign in to comment.