ci: build plugin runtime with npm (was pnpm w/ stale lockfile)
The workflow used pnpm install --frozen-lockfile against a stale pnpm-lock.yaml while the repo migrated to npm (current package-lock.json v3), so it failed and never published a release -> the deploy's download of openclaw-multi-session-plugins-runtime-all.tar.gz from releases/latest 404'd. Switch to npm ci + npm run build and trigger on package-lock.json.
This commit is contained in:
parent
c34217e70d
commit
48c05db842
13
.github/workflows/runtime-release.yaml
vendored
13
.github/workflows/runtime-release.yaml
vendored
@ -6,7 +6,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- "**/*.ts"
|
- "**/*.ts"
|
||||||
- package.json
|
- package.json
|
||||||
- pnpm-lock.yaml
|
- package-lock.json
|
||||||
- openclaw.plugin.json
|
- openclaw.plugin.json
|
||||||
- .github/workflows/runtime-release.yaml
|
- .github/workflows/runtime-release.yaml
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -25,22 +25,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install pnpm
|
|
||||||
uses: pnpm/action-setup@v3
|
|
||||||
with:
|
|
||||||
version: 9
|
|
||||||
|
|
||||||
- name: Use Node.js 22
|
- name: Use Node.js 22
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
cache: 'pnpm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: npm ci
|
||||||
|
|
||||||
- name: Run build
|
- name: Run build
|
||||||
run: pnpm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Build runtime asset
|
- name: Build runtime asset
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user