@financial-times/n-myft-ui 24.0.1 → 24.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/.circleci/config.yml +15 -18
- package/build-state/npm-shrinkwrap.json +37619 -6669
- package/package.json +14 -7
package/.circleci/config.yml
CHANGED
@@ -2,16 +2,11 @@
|
|
2
2
|
# template: component
|
3
3
|
|
4
4
|
references:
|
5
|
-
|
5
|
+
container_config_node: &container_config_node
|
6
6
|
working_directory: ~/project/build
|
7
7
|
docker:
|
8
8
|
- image: circleci/node:12-browsers
|
9
9
|
|
10
|
-
container_config_lambda_node12: &container_config_lambda_node12
|
11
|
-
working_directory: ~/project/build
|
12
|
-
docker:
|
13
|
-
- image: lambci/lambda:build-nodejs12.x
|
14
|
-
|
15
10
|
workspace_root: &workspace_root ~/project
|
16
11
|
|
17
12
|
attach_workspace: &attach_workspace
|
@@ -20,13 +15,13 @@ references:
|
|
20
15
|
|
21
16
|
npm_cache_keys: &npm_cache_keys
|
22
17
|
keys:
|
23
|
-
-
|
24
|
-
-
|
25
|
-
-
|
18
|
+
- v8-dependency-npm-{{ checksum "package-lock.json" }}-
|
19
|
+
- v8-dependency-npm-{{ checksum "package-lock.json" }}
|
20
|
+
- v8-dependency-npm-
|
26
21
|
|
27
22
|
cache_npm_cache: &cache_npm_cache
|
28
23
|
save_cache:
|
29
|
-
key:
|
24
|
+
key: v8-dependency-npm-{{ checksum "package-lock.json" }}-{{ epoch }}
|
30
25
|
paths:
|
31
26
|
- ./node_modules/
|
32
27
|
|
@@ -57,13 +52,18 @@ references:
|
|
57
52
|
branches:
|
58
53
|
ignore: /.*/
|
59
54
|
|
60
|
-
version: 2
|
55
|
+
version: 2.1
|
56
|
+
|
57
|
+
orbs:
|
58
|
+
node: circleci/node@4.6.0
|
61
59
|
|
62
60
|
jobs:
|
63
61
|
build:
|
64
|
-
<<: *
|
62
|
+
<<: *container_config_node
|
65
63
|
steps:
|
66
64
|
- checkout
|
65
|
+
- node/install-npm:
|
66
|
+
version: "7"
|
67
67
|
- run:
|
68
68
|
name: Checkout next-ci-shared-helpers
|
69
69
|
command: git clone --depth 1 git@github.com:Financial-Times/next-ci-shared-helpers.git .circleci/shared-helpers
|
@@ -71,9 +71,6 @@ jobs:
|
|
71
71
|
- run:
|
72
72
|
name: Install project dependencies
|
73
73
|
command: make install
|
74
|
-
- run:
|
75
|
-
name: shared-helper / npm-install-peer-deps
|
76
|
-
command: .circleci/shared-helpers/helper-npm-install-peer-deps
|
77
74
|
- run:
|
78
75
|
name: shared-helper / npm-update
|
79
76
|
command: .circleci/shared-helpers/helper-npm-update
|
@@ -91,7 +88,7 @@ jobs:
|
|
91
88
|
- build
|
92
89
|
|
93
90
|
test:
|
94
|
-
<<: *
|
91
|
+
<<: *container_config_node
|
95
92
|
parallelism: 1
|
96
93
|
steps:
|
97
94
|
- *attach_workspace
|
@@ -108,7 +105,7 @@ jobs:
|
|
108
105
|
destination: test-results
|
109
106
|
|
110
107
|
publish:
|
111
|
-
<<: *
|
108
|
+
<<: *container_config_node
|
112
109
|
steps:
|
113
110
|
- *attach_workspace
|
114
111
|
- run:
|
@@ -120,7 +117,7 @@ jobs:
|
|
120
117
|
command: .circleci/shared-helpers/helper-npm-version-and-publish-public
|
121
118
|
|
122
119
|
deploy:
|
123
|
-
<<: *
|
120
|
+
<<: *container_config_node
|
124
121
|
steps:
|
125
122
|
- *attach_workspace
|
126
123
|
- add_ssh_keys:
|