Skip to content

Commit 3a540e1

Browse files
authored
feat: use latest vuepress and remove unused features (#254)
1 parent 6cc3067 commit 3a540e1

File tree

15 files changed

+5352
-9617
lines changed

15 files changed

+5352
-9617
lines changed

Diff for: .github/workflows/build-docs.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,18 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
1414

1515
- name: Setup Node.js
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v4
1717
with:
18-
node-version: 18
18+
node-version: 22
1919
cache: npm
2020

2121
- name: Install Deps
2222
run: npm ci
2323

2424
- name: Build Docs
25-
env:
26-
NODE_OPTIONS: --max_old_space_size=8192
2725
run: npm run docs:build

Diff for: .github/workflows/deploy-docs.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,27 @@ name: Deploy Docs
33
on:
44
push:
55
branches:
6-
# make sure this is the branch you are using
76
- main
87

98
jobs:
109
deploy-gh-pages:
1110
runs-on: ubuntu-latest
1211
steps:
1312
- name: Checkout
14-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1514
with:
1615
fetch-depth: 0
17-
# if your docs needs submodules, uncomment the following line
18-
# submodules: true
1916

2017
- name: Setup Node.js
21-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v4
2219
with:
23-
node-version: 18
20+
node-version: 22
2421
cache: npm
2522

2623
- name: Install Deps
2724
run: npm ci
2825

2926
- name: Build Docs
30-
env:
31-
NODE_OPTIONS: --max_old_space_size=8192
3227
run: |-
3328
npm run docs:build
3429
> src/.vuepress/dist/.nojekyll

0 commit comments

Comments
 (0)