Skip to content

Commit 4a33677

Browse files
Tyler Levineperrybitgo
authored andcommitted
Remove node 6 and 11 from testing framework
1 parent b56b778 commit 4a33677

3 files changed

Lines changed: 2 additions & 114 deletions

File tree

.drone.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ local CheckPreconditions(version) = {
167167
]
168168
};
169169

170-
local UnitVersions = ["6", "8", "10", "11"];
170+
local UnitVersions = ["8", "10"];
171171
local IntegrationVersions = ["10"];
172172

173173
[

.drone.yml

Lines changed: 0 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -82,62 +82,6 @@ trigger:
8282
- "rel/*"
8383
- prod/production
8484

85-
---
86-
kind: pipeline
87-
name: unit tests (node:6)
88-
89-
platform:
90-
os: linux
91-
arch: amd64
92-
93-
steps:
94-
- name: build information
95-
image: node:6
96-
commands:
97-
- node --version
98-
- npm --version
99-
- yarn --version
100-
- git --version
101-
102-
- name: install
103-
image: node:6
104-
commands:
105-
- "git fetch origin +refs/heads/$DRONE_REPO_BRANCH:$DRONE_REPO_BRANCH || true"
106-
- yarn install --ignore-engines
107-
108-
- name: unit-test-changed
109-
image: node:6
110-
commands:
111-
- yarn run unit-test-changed
112-
environment:
113-
BITGOJS_TEST_PASSWORD:
114-
from_secret: password
115-
116-
- name: upload artifacts
117-
image: bitgosdk/upload-tools:latest
118-
commands:
119-
- yarn run artifacts
120-
- yarn run gen-coverage-changed
121-
- yarn run coverage -F unit
122-
environment:
123-
CODECOV_TOKEN:
124-
from_secret: codecov
125-
reports_s3_akid:
126-
from_secret: reports_s3_akid
127-
reports_s3_sak:
128-
from_secret: reports_s3_sak
129-
when:
130-
status:
131-
- success
132-
- failure
133-
134-
trigger:
135-
branch:
136-
exclude:
137-
- master
138-
- "rel/*"
139-
- prod/production
140-
14185
---
14286
kind: pipeline
14387
name: unit tests (node:8)
@@ -250,62 +194,6 @@ trigger:
250194
- "rel/*"
251195
- prod/production
252196

253-
---
254-
kind: pipeline
255-
name: unit tests (node:11)
256-
257-
platform:
258-
os: linux
259-
arch: amd64
260-
261-
steps:
262-
- name: build information
263-
image: node:11
264-
commands:
265-
- node --version
266-
- npm --version
267-
- yarn --version
268-
- git --version
269-
270-
- name: install
271-
image: node:11
272-
commands:
273-
- "git fetch origin +refs/heads/$DRONE_REPO_BRANCH:$DRONE_REPO_BRANCH || true"
274-
- yarn install
275-
276-
- name: unit-test-changed
277-
image: node:11
278-
commands:
279-
- yarn run unit-test-changed
280-
environment:
281-
BITGOJS_TEST_PASSWORD:
282-
from_secret: password
283-
284-
- name: upload artifacts
285-
image: bitgosdk/upload-tools:latest
286-
commands:
287-
- yarn run artifacts
288-
- yarn run gen-coverage-changed
289-
- yarn run coverage -F unit
290-
environment:
291-
CODECOV_TOKEN:
292-
from_secret: codecov
293-
reports_s3_akid:
294-
from_secret: reports_s3_akid
295-
reports_s3_sak:
296-
from_secret: reports_s3_sak
297-
when:
298-
status:
299-
- success
300-
- failure
301-
302-
trigger:
303-
branch:
304-
exclude:
305-
- master
306-
- "rel/*"
307-
- prod/production
308-
309197
---
310198
kind: pipeline
311199
name: integration tests (node:10)

modules/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"license": "Apache-2.0",
1717
"engines": {
18-
"node": ">=6.12.3 <13.0.0",
18+
"node": ">=8 <12.0.0",
1919
"npm": ">=3.10.10"
2020
},
2121
"scripts": {

0 commit comments

Comments
 (0)