update readme action
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
|||||||
echo "Docker installation not found. Docker will be installed"
|
echo "Docker installation not found. Docker will be installed"
|
||||||
curl -fsSL https://get.docker.com | sh
|
curl -fsSL https://get.docker.com | sh
|
||||||
fi
|
fi
|
||||||
- name: Install Fetch
|
- name: Install npm dependencies
|
||||||
run: |
|
run: |
|
||||||
echo "Installing fetch"
|
echo "Installing fetch"
|
||||||
install_node=$false
|
install_node=$false
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
apt-get install -y -q nodejs
|
apt-get install -y -q nodejs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
package='node-fetch@2'
|
package='@actions/core'
|
||||||
if [ `npm list -g | grep -c $package` -eq 0 ]; then
|
if [ `npm list -g | grep -c $package` -eq 0 ]; then
|
||||||
npm install $package -g
|
npm install $package -g
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user