fix(ci): 后端测试 - 安装 Pi Agent 运行时依赖
This commit is contained in:
1 parent
cb63b65092
commit
d22f678dc5
1 file changed
+8
@@ -39,6 +39,14 @@ jobs:
|
|||||||
go-version-file: backend/go.mod
|
go-version-file: backend/go.mod
|
||||||
cache-dependency-path: backend/go.sum
|
cache-dependency-path: backend/go.sum
|
||||||
cache: true
|
cache: true
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22.19.0
|
||||||
|
cache: npm
|
||||||
|
cache-dependency-path: backend/agent-runtime/pi/package-lock.json
|
||||||
|
- name: Install Pi Agent runtime dependencies
|
||||||
|
working-directory: backend/agent-runtime/pi
|
||||||
|
run: npm ci --omit=dev --ignore-scripts
|
||||||
- name: Install redis-server for integration tests
|
- name: Install redis-server for integration tests
|
||||||
# 用例自己拉起临时 redis-server(unix socket),所以需要的是可执行文件而不是 redis 服务。
|
# 用例自己拉起临时 redis-server(unix socket),所以需要的是可执行文件而不是 redis 服务。
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user