File tree 5 files changed +269
-157
lines changed
5 files changed +269
-157
lines changed Original file line number Diff line number Diff line change 50
50
key : dependency-cache-{{ checksum "package-lock.json" }}
51
51
paths :
52
52
- ./node_modules
53
+ analysis :
54
+ docker :
55
+ - image : webpackcontrib/circleci-node-base:latest
56
+ steps :
57
+ - checkout
58
+ - restore_cache :
59
+ key : dependency-cache-{{ checksum "package-lock.json" }}
60
+ - run :
61
+ name : Install Latest NPM.
62
+ command : npm i -g npm@latest
63
+ - run :
64
+ name : NPM Install.
65
+ command : npm ci
66
+ - run :
67
+ name : Run linting.
68
+ command : npm run lint
69
+ - run :
70
+ name : Run NPM Audit.
71
+ command : npm run security
72
+ - run :
73
+ name : Validate Commit Messages.
74
+ command : npm run ci:lint:commits
53
75
node6-latest :
54
76
docker :
55
77
- image : webpackcontrib/circleci-node6:latest
@@ -78,32 +100,10 @@ jobs:
78
100
name : Submit coverage data to codecov.
79
101
command : bash <(curl -s https://codecov.io/bash)
80
102
when : on_success
81
- node10 -canary :
103
+ node6 -canary :
82
104
docker :
83
105
- image : webpackcontrib/circleci-node10:latest
84
106
<< : *canary_tests
85
- analysis :
86
- docker :
87
- - image : webpackcontrib/circleci-node-base:latest
88
- steps :
89
- - checkout
90
- - restore_cache :
91
- key : dependency-cache-{{ checksum "package-lock.json" }}
92
- - run :
93
- name : Install Latest NPM.
94
- command : npm i -g npm@latest
95
- - run :
96
- name : NPM Install.
97
- command : npm ci
98
- - run :
99
- name : Run linting.
100
- command : npm run lint
101
- - run :
102
- name : Run NPM Audit.
103
- command : npm run security
104
- - run :
105
- name : Validate Commit Messages.
106
- command : npm run ci:lint:commits
107
107
108
108
workflows :
109
109
version : 2
@@ -136,10 +136,10 @@ workflows:
136
136
filters :
137
137
tags :
138
138
only : /.*/
139
- - node10 -canary :
139
+ - node6 -canary :
140
140
requires :
141
141
- analysis
142
142
- node6-latest
143
143
filters :
144
144
tags :
145
- only : /.*/
145
+ only : /.*/
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ insert_final_newline = true
9
9
trim_trailing_whitespace = true
10
10
11
11
[* .md ]
12
- insert_final_newline = false
12
+ insert_final_newline = true
13
13
trim_trailing_whitespace = false
Original file line number Diff line number Diff line change 9
9
- ' %APPDATA%\npm-cache'
10
10
environment :
11
11
matrix :
12
- - nodejs_version : ' 11 '
12
+ - nodejs_version : ' 6 '
13
13
webpack_version : latest
14
14
job_part : test
15
- - nodejs_version : ' 10 '
15
+ - nodejs_version : ' 8 '
16
16
webpack_version : latest
17
17
job_part : test
18
- - nodejs_version : ' 8 '
18
+ - nodejs_version : ' 10 '
19
19
webpack_version : latest
20
20
job_part : test
21
- - nodejs_version : ' 6 '
21
+ - nodejs_version : ' 11 '
22
22
webpack_version : latest
23
23
job_part : test
24
24
- nodejs_version : ' 6'
25
- webpack_version : latest
25
+ webpack_version : next
26
26
job_part : next
27
27
build : ' off'
28
28
matrix :
@@ -35,8 +35,7 @@ install:
35
35
before_test :
36
36
- cmd : npm install webpack@%webpack_version%
37
37
test_script :
38
- - node --version
39
38
- node --version
40
39
- npm --version
41
40
- cmd : FOR /F %%I in ('compver --name webpack --gte %webpack_version% --lt latest') do SET COMPARED_VERSION_RESULT=%%I
42
- - cmd : IF %COMPARED_VERSION_RESULT% NEQ -1 (npm run ci:test ) ELSE (ECHO "Next is older than Latest - Skipping Canary Suite")
41
+ - cmd : IF %COMPARED_VERSION_RESULT% NEQ -1 (npm run ci:%job_part% ) ELSE (ECHO "Next is older than Latest - Skipping Canary Suite")
You can’t perform that action at this time.
0 commit comments