mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-19 21:20:07 +08:00
Install pnpm globally in build and release workflows
Added 'npm i -g pnpm' to both build and release GitHub Actions workflows to ensure pnpm is available before running installation and build commands.
This commit is contained in:
parent
4360775eff
commit
55f21c6caa
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
- name: Build NapCat.Framework
|
- name: Build NapCat.Framework
|
||||||
run: |
|
run: |
|
||||||
|
npm i -g pnpm
|
||||||
pnpm i
|
pnpm i
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
pnpm run build:framework
|
pnpm run build:framework
|
||||||
@ -40,6 +41,7 @@ jobs:
|
|||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
- name: Build NapCat.Shell
|
- name: Build NapCat.Shell
|
||||||
run: |
|
run: |
|
||||||
|
npm i -g pnpm
|
||||||
pnpm i
|
pnpm i
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
pnpm run build:shell
|
pnpm run build:shell
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -17,6 +17,7 @@ jobs:
|
|||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
- name: Build NapCat.Framework
|
- name: Build NapCat.Framework
|
||||||
run: |
|
run: |
|
||||||
|
npm i -g pnpm
|
||||||
pnpm i
|
pnpm i
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
pnpm run build:framework
|
pnpm run build:framework
|
||||||
@ -39,6 +40,7 @@ jobs:
|
|||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
- name: Build NapCat.Shell
|
- name: Build NapCat.Shell
|
||||||
run: |
|
run: |
|
||||||
|
npm i -g pnpm
|
||||||
pnpm i
|
pnpm i
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
pnpm run build:shell
|
pnpm run build:shell
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user