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
3
3
RUN apk add --update ca-certificates git
4
4
RUN go get github.com/github/hub
5
5
6
- FROM node:10.15.3 -alpine
6
+ FROM node:10.13.0 -alpine
7
7
8
8
RUN apk add --update ca-certificates git curl jq py-pip bash && pip install yq
9
9
COPY --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"
3
3
4
4
steps :
5
5
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
-
12
6
install_dependencies :
13
7
title : ' Installing testing dependencies'
14
- image : node:${{RUNTIME_VERSION}}
8
+ image : node:10.13.0
15
9
commands :
16
10
- yarn install --frozen-lockfile
17
11
18
12
eslint :
19
13
title : ' Running linting logic'
20
- image : node:${{RUNTIME_VERSION}}
14
+ image : node:10.13.0
21
15
commands :
22
16
- yarn eslint
23
17
24
18
unit-tests :
25
19
title : ' Running unit tests'
26
- image : node:${{RUNTIME_VERSION}}
20
+ image : node:10.13.0
27
21
commands :
28
22
- yarn test
29
23
Original file line number Diff line number Diff line change 88
88
"author" : " Codefresh" ,
89
89
"license" : " ISC" ,
90
90
"engines" : {
91
- "node" : " 10.15.3 "
91
+ "node" : " >= 10.13.0 "
92
92
},
93
93
"jest" : {
94
94
"testEnvironment" : " node" ,
You can’t perform that action at this time.
0 commit comments