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:
1 parent
4360775eff
commit
55f21c6caa
2 files changed
+4
No files matched your search
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user