We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ea6577 commit c03b464Copy full SHA for c03b464
.circleci/config.yml
@@ -8,6 +8,19 @@ jobs:
8
# Checkout repository
9
- checkout
10
11
+ # install node
12
+ - run:
13
+ name: Install [email protected]
14
+ command: |
15
+ ./load-nvm.sh
16
+ nvm install v11.10.1
17
+ nvm alias default v11.10.1
18
+
19
+ # will print node: '11.10.1'
20
+ - run: |
21
22
+ npm version
23
24
# Restore cache
25
- restore_cache:
26
key: yarn-{{ checksum "yarn.lock" }}
.circleci/load-nvm.sh
@@ -0,0 +1,3 @@
1
+# load-nvm.sh
2
+export NVM_DIR="/opt/circleci/.nvm"
3
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
0 commit comments