Skip to content

Commit a2ae798

Browse files
Node 16 and Typescript upgrades (creditkarma#75)
Upgrade packages to node 16 and typescript 4.6
1 parent 16c4d5a commit a2ae798

File tree

7 files changed

+771
-64
lines changed

7 files changed

+771
-64
lines changed

.circleci/config.yml

+5-30
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
defaults: &defaults
22
working_directory: ~/thrift-parser
33
docker:
4-
- image: circleci/node:8.9.4
4+
- image: circleci/node:16
55

66
version: 2
77
jobs:
8-
test_node_8:
8+
test:
99
<<: *defaults
1010
steps:
1111
- checkout
@@ -20,23 +20,6 @@ jobs:
2020
paths:
2121
- ./node_modules
2222

23-
test_node_10:
24-
<<: *defaults
25-
docker:
26-
- image: circleci/node:10.14.0
27-
steps:
28-
- checkout
29-
- run:
30-
name: Install NPM Dependencies
31-
command: npm install
32-
- run:
33-
name: Run Test Suite
34-
command: npm test
35-
- save_cache:
36-
key: dependency-cache-{{ checksum "package.json" }}
37-
paths:
38-
- ./node_modules
39-
4023
publish:
4124
<<: *defaults
4225
steps:
@@ -75,20 +58,13 @@ workflows:
7558
version: 2
7659
build_publish:
7760
jobs:
78-
- test_node_8:
61+
- test:
7962
filters:
8063
tags:
8164
only: /.*/
82-
83-
- test_node_10:
84-
filters:
85-
tags:
86-
only: /.*/
87-
8865
- publish:
8966
requires:
90-
- test_node_8
91-
- test_node_10
67+
- test
9268
filters:
9369
tags:
9470
only: /^(v){1}[0-9]+(\.[0-9]+){2}$/
@@ -97,8 +73,7 @@ workflows:
9773

9874
- publish_next:
9975
requires:
100-
- test_node_8
101-
- test_node_10
76+
- test
10277
filters:
10378
tags:
10479
only: /^(v){1}[0-9]+(\.[0-9]+){2}(-)[0-9]+$/

0 commit comments

Comments
 (0)