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"
|
||||
uses: "actions/setup-node@v4"
|
||||
with:
|
||||
cache: "pnpm"
|
||||
node-version: 20
|
||||
- name: Install and 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"
|
||||
uses: "actions/setup-node@v4"
|
||||
with:
|
||||
cache: "pnpm"
|
||||
node-version: 20
|
||||
# 安装 Npm 并构建
|
||||
- name: Install and Build
|
||||
run: pnpm install && pnpm run build
|
||||
- name: Install
|
||||
run: pnpm install
|
||||
- name: Build
|
||||
run: pnpm run build
|
||||
# 部署
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
|
@ -12,8 +12,7 @@
|
||||
"serve": "docusaurus serve",
|
||||
"test": "docusaurus build && docusaurus serve",
|
||||
"write-translations": "docusaurus write-translations",
|
||||
"write-heading-ids": "docusaurus write-heading-ids",
|
||||
"patch": "patch-package"
|
||||
"write-heading-ids": "docusaurus write-heading-ids"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "^3.5.1",
|
||||
|
Loading…
Reference in New Issue
Block a user