mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
fix(ci): docs build error
This commit is contained in:
parent
50dc75eb22
commit
98e08786b0
1 changed files with 6 additions and 5 deletions
11
.github/workflows/documents.yml
vendored
11
.github/workflows/documents.yml
vendored
|
@ -33,16 +33,17 @@ jobs:
|
|||
- name: Set up nodejs
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.x
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'docs/yarn.lock'
|
||||
node-version: 21.x
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@latest --activate
|
||||
pnpm install
|
||||
working-directory: docs
|
||||
|
||||
- name: Build
|
||||
run: COMMIT_REF=$(git rev-parse HEAD) yarn docs:build
|
||||
run: COMMIT_REF=$(git rev-parse HEAD) pnpm docs:build
|
||||
working-directory: docs
|
||||
|
||||
- name: Archive artifacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue