Skip to content

Commit 5e5b919

Browse files
author
alfredbrockotter
committed
chore: added update node step to circle ci
1 parent f6f2305 commit 5e5b919

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

.circleci/config.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,13 @@ jobs:
88
# Checkout repository
99
- checkout
1010

11-
# install node
1211
- run:
13-
name: Install [email protected]
12+
name: "Update Node.js"
1413
command: |
15-
./.circleci/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-
./load-nvm.sh
22-
npm version
14+
curl -sSL "https://nodejs.org/dist/v11.10.0/node-v11.10.0-linux-x64.tar.xz" | sudo tar --strip-components=2 -xJ -C /usr/local/bin/ node-v11.10.0-linux-x64/bin/node
15+
- run:
16+
name: Check current version of node
17+
command: node -v
2318

2419
# Restore cache
2520
- restore_cache:

.circleci/load-nvm.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)