Skip to content

Commit 7244020

Browse files
fix fixing legacy openssl error
1 parent 2ed5c9d commit 7244020

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
build-and-deploy:
99
runs-on: ubuntu-latest
10+
env:
11+
NODE_OPTIONS: --openssl-legacy-provider
1012
steps:
1113
- name: Checkout repository
1214
uses: actions/checkout@v4
@@ -17,9 +19,6 @@ jobs:
1719
node-version: "22"
1820
cache: "npm"
1921

20-
- name: Fix legacy OpenSSL error
21-
run: export NODE_OPTIONS=--openssl-legacy-provider
22-
2322
- name: Install dependencies
2423
run: npm ci
2524

0 commit comments

Comments
 (0)