Skip to content

Commit

Permalink
Build: Upgrade to Node 8 LTS Carbon (#19759)
Browse files Browse the repository at this point in the history
Upgrade to node 8 and npm 5

Second attempt with the changes from #19317
  • Loading branch information
sirreal authored Nov 15, 2017
1 parent 96d380c commit 983d097
Show file tree
Hide file tree
Showing 6 changed files with 9,534 additions and 1,549 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
save-exact = true
package-lock = false
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v6.11.5
v8.9.1
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:6.11.5
FROM node:8.9.1
MAINTAINER Automattic

WORKDIR /calypso
Expand All @@ -25,12 +25,9 @@ RUN bash /tmp/env-config.sh
# and should only change as often as the dependencies
# change. This layer should allow for final build times
# to be limited only by the Calypso build speed.
#
# Sometimes "npm install" fails the first time when the
# cache is empty, so we retry once if it failed
COPY ./package.json ./npm-shrinkwrap.json /calypso/
RUN true \
&& npm install --production || npm install --production \
&& npm install --production \
&& rm -rf /root/.npm \
&& true

Expand Down
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
machine:
node:
version: 6.11.5
version: 8.9.1
test:
pre:
- ? |
Expand Down
Loading

0 comments on commit 983d097

Please sign in to comment.