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:
Haitao Pan 2026-06-21 08:28:00 +00:00
parent c34217e70d
commit 48c05db842

View File

@ -6,7 +6,7 @@ on:
paths:
- "**/*.ts"
- package.json
- pnpm-lock.yaml
- package-lock.json
- openclaw.plugin.json
- .github/workflows/runtime-release.yaml
workflow_dispatch:
@ -25,22 +25,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
cache: 'npm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: npm ci
- name: Run build
run: pnpm run build
run: npm run build
- name: Build runtime asset
run: |