mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Switch back to npm temporarily for CI build
This commit is contained in:
parent
e54dcba38e
commit
cd64b7372a
@ -20,12 +20,12 @@
|
|||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
# IN THE SOFTWARE.
|
# IN THE SOFTWARE.
|
||||||
|
|
||||||
# Check if "yarn install" was executed
|
# Check if "npm install" was executed
|
||||||
if [[ ! -d "$(yarn bin)" ]]; then
|
if [[ ! -d "$(npm bin)" ]]; then
|
||||||
echo "\"node_modules\" not found:"
|
echo "\"node_modules\" not found:"
|
||||||
echo "yarn install"
|
echo "npm install"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run command
|
# Run command
|
||||||
"$(yarn bin)"/gulp build --clean --optimize --revision "$@"
|
"$(npm bin)"/gulp build --clean --optimize --revision "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user