Skip to content

Commit

Permalink
chore: upgrade to Node.js 14
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyslbw committed Nov 4, 2020
1 parent 68dcc17 commit 950852a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .nvm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v14.5.0
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:10.15.3-alpine as builder
FROM node:14.15.0-alpine as node_alpine
FROM node_alpine as builder
RUN apk add --update python make g++ yarn
RUN mkdir /application
COPY package.json yarn.lock .yarnrc /application/
Expand All @@ -13,7 +14,7 @@ COPY packages/util-dev /application/packages/util-dev
RUN yarn --offline --frozen-lockfile --non-interactive
RUN yarn build

FROM node:10.15.3-alpine as production_deps
FROM node_alpine as production_deps
RUN mkdir -p application/packages
COPY package.json yarn.lock .yarnrc /application/
COPY --from=builder /application/packages-cache /application/packages-cache
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pipeline {
agent any

tools {nodejs 'Node 10'}
tools {nodejs 'Node.js 14'}

// Lock concurrent builds due to the docker dependency
options {
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"name": "cardano-graphql",
"description": "A TypeScript monorepo. Includes a server package and API modules for flexible implementation",
"engines": {
"node": "^14"
},
"version": "2.2.0",
"private": true,
"workspaces": [
Expand Down

0 comments on commit 950852a

Please sign in to comment.