forked from mirror/NitWikit
fix build?
This commit is contained in:
parent
7763711a64
commit
fb535fe769
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@ -15,7 +15,6 @@ jobs:
|
|||||||
- name: "setup node"
|
- name: "setup node"
|
||||||
uses: "actions/setup-node@v4"
|
uses: "actions/setup-node@v4"
|
||||||
with:
|
with:
|
||||||
cache: "pnpm"
|
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: Install and Build
|
- name: Install and Build
|
||||||
run: pnpm install && pnpm run build
|
run: pnpm install && pnpm run build
|
||||||
|
7
.github/workflows/wiki-deploy.yml
vendored
7
.github/workflows/wiki-deploy.yml
vendored
@ -32,11 +32,12 @@ jobs:
|
|||||||
- name: "setup node"
|
- name: "setup node"
|
||||||
uses: "actions/setup-node@v4"
|
uses: "actions/setup-node@v4"
|
||||||
with:
|
with:
|
||||||
cache: "pnpm"
|
|
||||||
node-version: 20
|
node-version: 20
|
||||||
# 安装 Npm 并构建
|
# 安装 Npm 并构建
|
||||||
- name: Install and Build
|
- name: Install
|
||||||
run: pnpm install && pnpm run build
|
run: pnpm install
|
||||||
|
- name: Build
|
||||||
|
run: pnpm run build
|
||||||
# 部署
|
# 部署
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
|
@ -12,8 +12,7 @@
|
|||||||
"serve": "docusaurus serve",
|
"serve": "docusaurus serve",
|
||||||
"test": "docusaurus build && docusaurus serve",
|
"test": "docusaurus build && docusaurus serve",
|
||||||
"write-translations": "docusaurus write-translations",
|
"write-translations": "docusaurus write-translations",
|
||||||
"write-heading-ids": "docusaurus write-heading-ids",
|
"write-heading-ids": "docusaurus write-heading-ids"
|
||||||
"patch": "patch-package"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "^3.5.1",
|
"@docusaurus/core": "^3.5.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user