Skip to content

Commit a469c95

Browse files
committed
Added node12 tests. Ignoring engines in tests
1 parent 9445d40 commit a469c95

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

.circleci/config.yml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# fallback to using the latest cache if no exact match is found
2424
- v8-dependencies-
2525

26-
- run: yarn install
26+
- run: yarn install --ignore-engines
2727

2828
- save_cache:
2929
paths:
@@ -47,7 +47,7 @@ jobs:
4747
# fallback to using the latest cache if no exact match is found
4848
- v-10-dependencies-
4949

50-
- run: yarn install
50+
- run: yarn install --ignore-engines
5151

5252
- save_cache:
5353
paths:
@@ -57,9 +57,34 @@ jobs:
5757
# run tests!
5858
- run: yarn tests
5959

60+
build-node12:
61+
<<: *defaults
62+
docker:
63+
# specify the version you desire here
64+
- image: circleci/node:12-stretch
65+
steps:
66+
- checkout
67+
# Download and cache dependencies
68+
- restore_cache:
69+
keys:
70+
- v-12-dependencies-{{ checksum "package.json" }}
71+
# fallback to using the latest cache if no exact match is found
72+
- v-12-dependencies-
73+
74+
- run: yarn install --ignore-engines
75+
76+
- save_cache:
77+
paths:
78+
- node_modules
79+
key: v-12-dependencies-{{ checksum "package.json" }}
80+
81+
# run tests!
82+
- run: yarn tests
83+
6084
workflows:
6185
version: 2
6286
build_and_test:
6387
jobs:
6488
- build-node8
6589
- build-node10
90+
- build-node12

0 commit comments

Comments
 (0)