From cb0db0792a1f47a744dda54b37c7d12cbbef8782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E9=87=8C=E8=B5=B0=E5=8D=95=E9=AA=91?= Date: Wed, 3 Apr 2024 00:08:59 +0800 Subject: [PATCH] add npm --- .gitea/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 0a6fa5f..64f8459 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -22,7 +22,7 @@ jobs: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" apt-get update - apt install -y docker-ce docker-ce-cli containerd.io + apt install -y docker-ce docker-ce-cli containerd.io npm npm config set registry https://registry.npmmirror.com - name: 拉取代码 uses: https://${{ env.DOMAIN }}/actions/checkout@v4