Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit edcb354

Browse files
committed
add node.js 12.x
1 parent b727e5b commit edcb354

File tree

1 file changed

+30
-11
lines changed

1 file changed

+30
-11
lines changed

.gitlab-ci.yml

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,21 @@ stages:
1919
paths:
2020
- node_modules
2121

22-
'yarn 8/10':
22+
'yarn 8/12':
2323
<<: *yarn_definition
2424
variables:
2525
NODE_VERSION: 8
2626

27-
'yarn 10/10':
27+
'yarn 10/12':
2828
<<: *yarn_definition
2929
variables:
3030
NODE_VERSION: 10
3131

32+
'yarn 12/12':
33+
<<: *yarn_definition
34+
variables:
35+
NODE_VERSION: 12
36+
3237
.lint_template: &lint_definition
3338
image: cookielab/nodejs:$NODE_VERSION
3439
stage: test
@@ -37,20 +42,27 @@ stages:
3742
script:
3843
- bin/lint
3944

40-
'lint 8/10':
45+
'lint 8/12':
4146
<<: *lint_definition
4247
dependencies:
43-
- 'yarn 8/10'
48+
- 'yarn 8/12'
4449
variables:
4550
NODE_VERSION: 8
4651

47-
'lint 10/10':
52+
'lint 10/12':
4853
<<: *lint_definition
4954
dependencies:
50-
- 'yarn 10/10'
55+
- 'yarn 10/12'
5156
variables:
5257
NODE_VERSION: 10
5358

59+
'lint 12/12':
60+
<<: *lint_definition
61+
dependencies:
62+
- 'yarn 12/12'
63+
variables:
64+
NODE_VERSION: 12
65+
5466
.test_template: &test_definition
5567
image: cookielab/nodejs:$NODE_VERSION
5668
stage: test
@@ -59,22 +71,29 @@ stages:
5971
script:
6072
- bin/jest
6173

62-
'test 8/10':
74+
'test 8/12':
6375
<<: *test_definition
6476
dependencies:
65-
- 'yarn 8/10'
77+
- 'yarn 8/12'
6678
variables:
6779
NODE_VERSION: 8
6880

69-
'test 10/10':
81+
'test 10/12':
7082
<<: *test_definition
7183
dependencies:
72-
- 'yarn 10/10'
84+
- 'yarn 10/12'
7385
variables:
7486
NODE_VERSION: 10
7587

88+
'test 12/12':
89+
<<: *test_definition
90+
dependencies:
91+
- 'yarn 12/12'
92+
variables:
93+
NODE_VERSION: 12
94+
7695
publish:
77-
image: cookielab/nodejs:10
96+
image: cookielab/nodejs:12
7897
stage: publish
7998
tags:
8099
- docker

0 commit comments

Comments
 (0)