0
0
mirror of https://github.com/tj/n.git synced 2024-12-01 14:41:07 +01:00
n/test/tests/install-reference-versions.bash

16 lines
513 B
Bash
Raw Normal View History

2019-05-04 09:45:53 +02:00
#!/usr/bin/env bash
# These are the versions installed and hence cached by proxy-build.
# Run commands we want to cache downloads for
# Get index into cache for lookups of expected versions.
curl --location --fail https://nodejs.org/dist/index.tab &> /dev/null
# Using 4.9.1 as a well known old version (which is no longer getting updated so does not change)
n --download 4
n --download lts
n --download latest
n --download nightly/latest
NVH_NODE_MIRROR=https://npm.taobao.org/mirrors/node n --download 6.11