add npm
This commit is contained in:
parent
91f2284102
commit
cb0db0792a
|
@ -22,7 +22,7 @@ jobs:
|
||||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
|
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"
|
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
||||||
apt-get update
|
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
|
npm config set registry https://registry.npmmirror.com
|
||||||
- name: 拉取代码
|
- name: 拉取代码
|
||||||
uses: https://${{ env.DOMAIN }}/actions/checkout@v4
|
uses: https://${{ env.DOMAIN }}/actions/checkout@v4
|
||||||
|
|
Loading…
Reference in New Issue