Skip to content

Commit 369ee33

Browse files
committed
Fix CI
1 parent b2f6284 commit 369ee33

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on: push
22

33
jobs:
44
build_and_deploy:
5-
runs-on: ubuntu-20.04
5+
runs-on: ubuntu-22.04
66
steps:
77
# GIT Checkout
88
- uses: actions/checkout@v2
@@ -15,9 +15,9 @@ jobs:
1515
restore-keys: ${{ runner.os }}-node-
1616

1717
# Setup Node.JS
18-
- uses: actions/setup-node@v1
18+
- uses: actions/setup-node@v4
1919
with:
20-
node-version: '14'
20+
node-version: '21'
2121

2222
# Build
2323
- run: npm ci

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"scripts": {
1919
"dev": "vuepress dev",
20-
"build": "vuepress build",
20+
"build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build",
2121
"check": "blcl -r .vuepress/dist",
2222
"postinstall": "echo \\$contentClass = \\'.content__default\\' > node_modules/@vuepress/theme-default/styles/config.styl"
2323
},

0 commit comments

Comments
 (0)