File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM golang:alpine as go
33RUN apk add --update ca-certificates git
44RUN go get github.com/github/hub
55
6- FROM node:10.15.3 -alpine
6+ FROM node:10.13.0 -alpine
77
88RUN apk add --update ca-certificates git curl jq py-pip bash && pip install yq
99COPY --from=go /go/bin/hub /usr/local/bin/hub
Original file line number Diff line number Diff line change @@ -3,27 +3,21 @@ version: "1.0"
33
44steps :
55
6- prepare_environment_variabels :
7- title : ' Prepare environment variables'
8- image : codefresh/cli
9- commands :
10- - cf_export RUNTIME_VERSION=$(jq -r ".engines.node" package.json)
11-
126 install_dependencies :
137 title : ' Installing testing dependencies'
14- image : node:${{RUNTIME_VERSION}}
8+ image : node:10.13.0
159 commands :
1610 - yarn install --frozen-lockfile
1711
1812 eslint :
1913 title : ' Running linting logic'
20- image : node:${{RUNTIME_VERSION}}
14+ image : node:10.13.0
2115 commands :
2216 - yarn eslint
2317
2418 unit-tests :
2519 title : ' Running unit tests'
26- image : node:${{RUNTIME_VERSION}}
20+ image : node:10.13.0
2721 commands :
2822 - yarn test
2923
Original file line number Diff line number Diff line change 8888 "author" : " Codefresh" ,
8989 "license" : " ISC" ,
9090 "engines" : {
91- "node" : " 10.15.3 "
91+ "node" : " >= 10.13.0 "
9292 },
9393 "jest" : {
9494 "testEnvironment" : " node" ,
You can’t perform that action at this time.
0 commit comments