update readme action
This commit is contained in:
@@ -25,9 +25,14 @@ jobs:
|
|||||||
- name: Install Fetch
|
- name: Install Fetch
|
||||||
run: |
|
run: |
|
||||||
echo "Installing fetch"
|
echo "Installing fetch"
|
||||||
|
if ! command -v node &> /dev/null; then
|
||||||
apt-get install -y curl
|
apt-get install -y curl
|
||||||
curl -fsSL https://deb.nodesource.com/setup_24.x | bash
|
curl -fsSL https://deb.nodesource.com/setup_24.x | bash
|
||||||
npm install node-fetch
|
fi
|
||||||
|
package='node-fetch'
|
||||||
|
if [ `npm list -g | grep -c $package` -eq 0 ]; then
|
||||||
|
npm install $package --no-shrinkwrap
|
||||||
|
fi
|
||||||
- name: Login to DockerHub container registry
|
- name: Login to DockerHub container registry
|
||||||
uses: https://github.com/docker/login-action@v3
|
uses: https://github.com/docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user