ci(workflows): 💚 Try to confirm and fix CI error:0308010C

There might be a conflict between the new version node.js and this project's dependencies, according to CI Error message "error:0308010C:digital envelope routines::unsupported". Try to confirm and fix it by specifying the old styled openssl.
pull/538/head
CybCom 2023-12-22 18:27:38 +08:00
parent dd6b022429
commit 584087ad46
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ jobs:
PCIT_USERNAME: khs1994 PCIT_USERNAME: khs1994
- name: vuepress - name: vuepress
run: | run: |
export NODE_OPTIONS=--openssl-legacy-provider
sudo rm -rf _book sudo rm -rf _book
# npm i vuepress --save-dev # npm i vuepress --save-dev
npm i npm i