Skip to content

Commit e6d67e2

Browse files
authored
Merge pull request #482 from Yang-33/docs-test
Fix building docs CI by using openssl-legacy-provider option
2 parents bfaec16 + c51dbfa commit e6d67e2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
ls | grep -v '.git' | xargs rm -r
3333
cd ../
3434
- name: Build Docs
35-
run: npm run docs:build
35+
run: export NODE_OPTIONS=--openssl-legacy-provider; npm run docs:build
3636
- name: Copy & Deploy
3737
run: |
3838
cp -r docs/.vuepress/dist/* doc-dist/

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ jobs:
2626
run: npm ci
2727
- name: Test Project
2828
run: npm test
29-
29+
- name: Test building docs
30+
run: export NODE_OPTIONS=--openssl-legacy-provider; npm run docs:build

0 commit comments

Comments
 (0)