gitlab-ci 构建时,npm install一直卡住不动了

用的docker容器, ci.yml配置的是node:18的镜像。

Running with gitlab-runner 16.6.1 (f5da3c5a)
  on docker-run yexmKwyKX, system ID: r_ZcV4EpPEDzsP

Preparing the "docker" executor
00:03
Using Docker executor with image node:18 ...
Pulling docker image node:18 ...
Using docker image sha256:d9a63e37775e396360386f142e3db4c1019b9 for node:18 with digest node@sha256:7a4282663d20fa3cf70c5c3715546f9779858dc0ed3fd ...

Preparing environment
00:01
Running on runner-yexmkwykx-project-1-concurrent-0 via c7d0df967306...

Getting source from Git repository
00:00
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/fe/demo/.git/
Checking out 4dd07dcf as detached HEAD (ref is test)...
Skipping Git submodules setup

Restoring cache
00:00
Checking cache for default-non_protected...
No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted. 
Successfully extracted cache

Executing "step_script" stage of the job script
Using docker image sha256:d1d7a863e37775e396360386f142e3db4c1019b9 for node:18 with digest node@sha256:7a4282663db
安装项目依赖
**$ npm install**

npm install --registry https://registry.npmmirror.com