ci: 修复首次运行的两处失败
- backend:日志显示服务名 postgres 无法解析(runner 为 host 网络,services 只 发布端口、不提供容器别名)。给 service 加 55432:5432 端口映射,并改为依次 探测 postgres:5432 与 127.0.0.1:55432,连上后写入 PG* 与 ARTEX_PG_DSN; 都不通时打印解析结果,便于判断网络模式。 - frontend/release:setup-node 的 cache 只接受 npm/yarn/pnpm,之前的 cache: false 会导致 "Caching for 'false' is not supported" 直接失败,去掉该键。
This commit is contained in:
1 parent
cadc8af05d
commit
ba2f4b4b06
2 files changed
+46
-21
No files matched your search
@@ -43,7 +43,7 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "22"
|
||||
cache: false
|
||||
# cache 只接受 npm / yarn / pnpm,写 false 会直接报错。
|
||||
|
||||
- name: 补齐打包工具
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user